Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 23:31:15 +0200
From:      Laszlo Nagy <nagylzs@freemail.hu>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   mount msdosfs writeable by a given group
Message-ID:  <4294EEA3.7030102@freemail.hu>

next in thread | raw e-mail | index | archive | help

Hello,

I read the manual and I can mount my VFAT32 partition with this command:

mount_msdosfs -u nobody -g shares -m 777 -M 777 /dev/ad0s5 /mnt/transfer

This will make files and directories writeable by users in the "shares" 
group.
But how do I specify the same in /etc/fstab?

This won't work:

/dev/ad0s5              /mnt/transfer   msdosfs rw -u nobody -g shares 
-m 777 -M 777            0       0
/dev/ad0s6              /mnt/media      msdosfs rw -u nobody -g shares 
-m 777 -M 777            0       0

because the options part should not have whitespace in it.

/dev/ad0s5              /mnt/transfer   msdosfs "rw -u nobody -g shares 
-m 777 -M 777"            0       0
/dev/ad0s6              /mnt/media      msdosfs "rw -u nobody -g shares 
-m 777 -M 777"            0       0


not working either.

   Laci 2.0



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