Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 1995 09:26:27 -0600
From:      nate@sneezy.sri.com (Nate Williams)
To:        davidg@Root.COM
Cc:        simon@masi.ibp.fr, freebsd-hackers@freebsd.org
Subject:   Re: patch adding the 'noauto' switch to 'mount' 
Message-ID:  <199508071526.JAA15016@rocky.sri.MT.net>
In-Reply-To: <199508071414.HAA00196@corbin.Root.COM>
References:  <199508071209.OAA00200@neuromancer.ibp.fr> <199508071414.HAA00196@corbin.Root.COM>

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?

So you don't have to specify the complete command line parameters when
you *really* want it mounted.  SunOS has this, and I use it all the time
with the cdrom.  Instead of saying 'mount -t cd9660 /dev/cd0a /cdrom' I
can say 'mount /cdrom'.  It will only mount the fs with an explicit
mount, rather than the 'mount -a' command.

I think it's a nice feature to have.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508071526.JAA15016>