[OpenIndiana-discuss] mount ext2/3

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Feb 27 20:20:20 UTC 2014


On 27/02/2014 17:14, PÁSZTOR György wrote:
> Hello,
>
> What did I do wrong?
> I added the sfe repo: pkg set-publisher -p http://pkg.openindiana.org/sfe
> I installed fuse-ext2 package: pkg install fuse-ext2
>
> Then it complained about the missing libfuse.so, so I installed them too:
> pkg install libfuse fusefs
>
> It still complained, and then I did pkg remove, and pkg install for the
> fuse-ext2 package: didn't helped
> BTW: Are there any similar thing here, like the ldconfig command in
> linux, which updates the symlinks, etc, and the /etc/ld.so.conf file, which
> describes the directories, where should the dynamic linker find so's other
> then /lib and /usr/lib?
>
> So, I used my linux routine:
> LD_LIBRARY_PATH=/usr/gnu/lib fuse-ext2 /home/pasztor/e2t.img /mnt/e2t
> This command run, but gave 252 as return code... I didn't find explanation
> in fuse-ext2's manpage, since i didn't find that even...
> And of course, it didn't mount that image file...
> I tried lofiadm -a /home/pasztor/e2t.img and
> LD_LIBRARY_PATH=/usr/gnu/lib fuse-ext2 /dev/lofi/1 /mnt/e2t/
>
> But the result was the same: nothing...
>
> Hint's, ideas, anything?

If you are not a privileged user, you cannot mount, see
/usr/gnu/bin/fusermount:

pfexec "/usr/gnu/lib/fs/fuse/`basename $0`.bin" "$@"

Alternative: Set it setuid...



More information about the OpenIndiana-discuss mailing list