DragonFly submit List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: patch to mount(8) to support optional filesystem mounts
: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@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]