Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 09:40:31 +0300
From:      Igor Robul <igorr@speechpro.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Trouble with mounting USB stick as user
Message-ID:  <20060209064031.GA850@sysadm.stc>
In-Reply-To: <43EA3A34.8070801@pobox.sk>
References:  <20060208064637.11c015ee.lists@elehack.net> <200602081327.k18DRCY2061980@lurza.secnetix.de> <43EA3A34.8070801@pobox.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 08, 2006 at 07:36:36PM +0100, martinko wrote:
> $ mount /usr/home/mato/mnt/win/
> mount_ntfs: /dev/ad0s6: Operation not permitted
> [mb-aw1n-bsd][mato][~]
> $ mount /usr/home/mato/mnt/lin/
> mount_ext2fs: /dev/ad0s7: Operation not permitted
> [mb-aw1n-bsd][mato][~]
> $ mount /usr/home/mato/mnt/fat/
> mount_msdosfs: cannot find or load "msdosfs_iconv" kernel module
> mount_msdosfs: msdosfs_iconv: Operation not permitted
Do you have filesystem  modules loaded?
While vfs.usermount=1 allows user to mount filesystems, it does not
allow him load modules. For removamble devices I have following in my 
/etc/rc.local:

mount /rem/floppy
mount /rem/flash

These mount commands dont mount anything without media in drive, but
they load all modules and setup kernel locale stuff.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209064031.GA850>