Trouble with mounting USB stick as user

martinko martinkov at pobox.sk
Thu Feb 9 14:18:48 PST 2006


Raaf wrote:
> martinko wrote:
> 
>>confirmed. almost. all but one mounted. please see below and comment ...
>>
>>/everything setup as before/above/
>>
>>[mb-aw1n-bsd][mato][~]
>>$ mount /usr/home/mato/mnt/win/
>>[mb-aw1n-bsd][mato][~]
>>$ mount /usr/home/mato/mnt/lin/
>>[mb-aw1n-bsd][mato][~]
>>$ mount /usr/home/mato/mnt/fat/
>>mount_msdosfs: msdosfs_iconv: Operation not permitted
>>[mb-aw1n-bsd][mato][~]
>>$ mount /usr/home/mato/mnt/dos/
>>[mb-aw1n-bsd][mato][~]
>>$ kldstat
>>Id Refs Address    Size     Name
>> 1   30 0xc0400000 459d90   kernel
>> 3    1 0xc085c000 56c8     vesa.ko
>> 4    1 0xc0862000 cbe4     ntfs.ko
>>...
>>13    1 0xc0943000 4ec8     atapicam.ko
>>14    1 0xc0948000 1e78     msdosfs_iconv.ko
>>15    2 0xc094a000 49f4     libiconv.ko
>>16    1 0xc094f000 103f4    ext2fs.ko
>>[mb-aw1n-bsd][mato][~]
>>$
>>
>>all necessary modules seem to be loaded so why is it still failing ??
>>
> 
> 
> I suspect it has something to do with character-conversion failing.
> See the mount_msdosfs(8) manpage for some mount options that might
> be able to help you out.

i've just found out that once i mount (and unmount) that mount point as
root, i can mount (and unmount) it as a regular user.
so it seems to me like something is still missing and once it's
done/loaded with help of root, it works as expected for others too.
but what is it ??

m.



More information about the freebsd-stable mailing list