On 10/11/2010 08:39 AM, Neal Murphy wrote:
> Binutils are getting better at recognizing a filesystem and loading its
> module(s) as needed before mounting it; it wasn't always thus. Regardless of
> that, there are two consumers of /etc/fstab: the computer, and the admin; it
> needs to be computer parsable and human grokable. I'll side more with Bruce
> on this one. (1) Fstab is where I usually 'document' which partitions have
> which filesystems. (2) I sometimes need to specify mount options; NTFS
> options don't work with reiserFS and reiserFS options don't work with vfat,
> etc. (3) Even if I know what the FS is, there's no guarantee I'll remember it
> in 6 months.
>
> Something like the following works well enough for me. Depending on the FS, a
> partition will be mounted on different dirs and/or have different mount
> options:
> /dev/sdh1 /mnt        ntfs-3g rw,user,noauto,allow_other,default_permissions,\
>                                umask=000,dmask=000,fmask=111     0       0
> /dev/sdh1 /media/usb1 auto    rw,user,noauto
>    

Thank you for responding.  I'd thought of the documentation argument.  
However, even though I have "auto" for each partition in my /etc/fstab, 
"mount" or "df -T" tells me the file system type.  True, that doesn't 
apply to the / partition, but that's not a problem for me.

Jonathan suggested "auto" isn't a good idea with network drives.  I'll 
buy that.

Your /etc/fstab example is good.  I used something similar, but less 
sophisticated, before I began using "auto."
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to