fstab entry for mount --bind option?

Raymond Jackson rfj at sbcglobal.net
Sat Apr 10 16:54:49 UTC 2004


  I must be missing something, but why not just use a symlink?

Ray

At 09:41 AM 4/10/2004, you wrote:
>Am Sa, den 10.04.2004 schrieb leam um 18:18:
>
>> I can do a
>> 
>>       mount --bind /export/up2date /var/spool/up2date
>> 
>> to get /var some space. But of course that'll go away on reboot. Is 
>> there a stanza I can use in /etc/fstab to get it on boot?
>
>bind is a mount option and as an option it goes to the 4th column in
>/etc/fstab, along with other possible options.
>
>You can easily check this if you use your mount command from above to
>bind mount and then check /etc/mtab to see that bind goes as an option
>like rw. the mtab file is a "live image" of mounted filesystems. If you
>do nothing by hand then mtab replicates the fstab as a live view.
>
>> ciao!
>> 
>> leam
>
>Alexander





More information about the fedora-list mailing list