patch to mount(8) to support optional filesystem mounts
Matthew Dillon
dillon at apollo.backplane.com
Fri Jan 23 11:26:21 PST 2004
:Matthew Dillon wrote:
:
:> Hmm. Well, a better solution might be to not mount those partitions
:> from /etc/fstab at all but instead mount them in /etc/rc.local, or
:> create a /usr/local/rc.d script, which can do more sophisticated
:> checks to determine which drive you've loaded into the bay.
:
:It may enable more sophisticated setup, but having all mounting potentially
:mentioned in only one place - /etc/fstab - might be nice from an
:administrative viewpoint. Plus, that doesn't exclude going to
:a /usr/local/rc.d script when a more fancy setup is desired.
Well, then just specify the mounts as 'noauto' in /etc/fstab and write
an RC script to optionally mount them. Maybe 'noauto,rcmount'. Then
put the basics in the rc file so it works as you expect, and we can commit
that. This would be more flexible then adding an optional option to
mount.
Or even better, make it so you can name groups of mounts. So in the fstab
you would use noauto,rcmount1 for the entries correspdonding to removal
disk #1, and noauto,rcmount2 for the entries correspdonging to removal
disk #2.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Submit
mailing list