From owner-freebsd-hackers Mon Aug 7 08:14:48 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id IAA10055 for hackers-outgoing; Mon, 7 Aug 1995 08:14:48 -0700 Received: from dvals1.larc.nasa.gov (dvals1.larc.nasa.gov [128.155.4.96]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id IAA10024 for ; Mon, 7 Aug 1995 08:14:42 -0700 Received: (from branson@localhost) by dvals1.larc.nasa.gov (8.6.11/8.6.9) id LAA27678; Mon, 7 Aug 1995 11:12:31 -0400 From: Branson Matheson Message-Id: <199508071512.LAA27678@dvals1.larc.nasa.gov> Subject: Re: patch adding the 'noauto' switch to 'mount' To: davidg@root.com Date: Mon, 7 Aug 1995 11:12:30 -0400 (EDT) Cc: simon@masi.ibp.fr, freebsd-hackers@freebsd.org In-Reply-To: <199508071414.HAA00196@corbin.Root.COM> from "David Greenman" at Aug 7, 95 07:14:26 am X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1409 Sender: hackers-owner@freebsd.org Precedence: bulk > > >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? This is a _very_ nice option to have and it is about time... Think about it this way... having things like /dev/fd0a /floppy msdos rw,noauto 0 0 /dev/cd0a /cdrom iso9660 rw,noauto 0 0 as well as > >For example: /dev/sd0s2 /dos msdos rw,noauto 0 0 then all you have to do is: mount /cdrom or mount /floppy Please incorperate this one guys... -branson -- MATHESON, E BRANSON E.B.MATHESON@LaRC.NASA.GOV Mail Stop 488 COMPUTER SCIENCES CORPORATION NASA Langley Research Center Assigned to Operations Support Division Hampton, VA 23681-0001 Phone +1 804 864-9700 http://longstreet.larc.nasa.gov/~branson/index.html