Date: Mon, 7 Aug 95 13:04:11 MDT From: terry@cs.weber.edu (Terry Lambert) To: davidg@Root.COM Cc: simon@masi.ibp.fr, freebsd-hackers@freebsd.org Subject: Re: patch adding the 'noauto' switch to 'mount' Message-ID: <9508071904.AA26424@cs.weber.edu> In-Reply-To: <199508071414.HAA00196@corbin.Root.COM> from "David Greenman" at Aug 7, 95 07:14:26 am
next in thread | previous in thread | raw e-mail | index | archive | help
> >I just got fed up with my DOS partition being mounted automatically > >at boot time, so I wrote a patch which enables the use of the 'noauto' > >flag in /etc/fstab. > > > >For example: /dev/sd0s2 /dos msdos rw,noauto 0 0 > > > >This flag prevents a filesystem from being mounted when a 'mount -a' occurs. > >It works for every kind of fs , since it's defined as a standard > >mount option. > > That's an interesting option, but the "-a" switch stands for "all" - not > "auto". I suppose the first question that comes to mind is: if you don't want > the filesystem mounted with "-a", then why are you putting it in fstab? The mount -a is not the correct command for automount, obviously. The reason you'd want an entry in the /etc/fstab that was not mounted by default is so that you could later type something like mount /dos or mount /cdrom without having to know device names. This is especially salient for floppies and for allowing user mounts of local media when a user is on the console. For instance, in a lab full of dataless PC's running FreeBSD and an IBCS2 version of WordPerfect or Lotus 123, where the students keep floppies with their data files on them. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508071904.AA26424>