Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2006 23:18:17 +0100
From:      martinko <martinkov@pobox.sk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Trouble with mounting USB stick as user
Message-ID:  <dsgf3e$33o$1@sea.gmane.org>
In-Reply-To: <43EBBDB0.9030402@luna.afraid.org>
References:  <dsdfe8$1sd$1@sea.gmane.org>	<200602082003.k18K3ZQJ077077@lurza.secnetix.de>	<dsdnob$4q4$1@sea.gmane.org>	<Pine.LNX.4.62.0602081331510.13164@haller.snl.salk.edu>	<43EA6B21.8040307@pobox.sk>	<43EA6E25.8090009@luna.afraid.org>	<43EA70E8.2030301@pobox.sk> <dsg19a$73a$1@sea.gmane.org> <43EBBDB0.9030402@luna.afraid.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dsgf3e$33o$1>