Where is the place of specifying automount options for a specific file system
Zhu, Peter J
peter.j.zhu at intel.com
Mon Nov 30 23:01:44 PST 2009
> -----Original Message-----
> From: David Zeuthen [mailto:david at fubar.dk]
> Sent: Tuesday, December 01, 2009 1:09 AM
> To: Zhu, Peter J
> Cc: devkit-devel at lists.freedesktop.org
> Subject: Re: Where is the place of specifying automount options for a specific
> file system
> On Mon, 2009-11-30 at 23:23 +0800, Zhu, Peter J wrote:
> > With gio->gvfs->gdu->devkit in a distribution like FC11/FC12, where is
> > the place of specifying automount options for a specifi file system ,
> > for example for a removable usb disk with vfat partition? In HAL, it’s
> > specified in HAL fdi files. For “new world”, where is it, which piece
> > is responsible for this?
> The answer is: /etc/fstab - use /dev/disk/* symlinks to specify this on
> a per-device (using e.g. fs uuid) or a per-port basis (using e.g.
Using /etc/fstab?? I don't understand. For fixed partition, yes, it's anaconda's job to manipulate this file do right thing. But for a hot-plugged device like a USB disk , we shouldn't use this file. We should do it with something like udev rules, I think. And for your info, mount show "(rw,nosuid,nodeve,uhelper=devkit,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush)" for a usb disk. I want to know where are the mount options from?
> I'm curious though - what mount options do you need to change? The
> defaults should work out of the box.
Yes, works. Just want to know how it works.
More information about the devkit-devel