Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 1995 00:09:49 -0700
From:      David Greenman <davidg@Root.COM>
To:        scott@statsci.com
Cc:        questions@freebsd.org
Subject:   Re: Problems 
Message-ID:  <199510270709.AAA00603@corbin.Root.COM>
In-Reply-To: Your message of "Thu, 26 Oct 95 18:28:57 PDT." <m0t8dbO-000r41C@main.statsci.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>bmk@dtr.com wrote:
>
>> You have your cdrom listed in /etc/fstab.  Leave a CD in the drive when
>> you boot or you'll always see this message.  You could also remove the
>> offending line from /etc/fstab.
>
>Speaking of which, some OS's accept a 'noauto' option in their /etc/fstab
>to tell 'mount -a' not to bother with the line.  I like to have a /cdrom
>line in my /etc/fstab, but don't want it mounted at boot time and would
>like to be able to do 
>
>        # mount /cdrom
>
>at some point without having to remember all of the right args.  Yes, I
>know I could write a little wrapper script to do
>
>        # mount -t XXXfs -r /dev/cd0a /cdrom
>
>or whatever the right incantation is, but it'd be nice to have that
>'noauto' option.

   FreeBSD has had a "noauto" option for a few months now.


RCS file: /home/ncvs/src/sbin/mount/mount.c,v
...
revision 1.8
date: 1995/08/26 05:39:53;  author: davidg;  state: Exp;  lines: +4 -5
The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO
is a kernel flag, and the kernel definately doesn't need to know about
it.
----------------------------
revision 1.7
date: 1995/08/23 12:59:27;  author: jkh;  state: Exp;  lines: +6 -3
Add a "noauto" flag so that you can do things like prevent your system
from not coming up multiuser just because you have a CD mount in fstab
but no CD in the drive.
Submitted by:   "Full Name Not Supplied" <simon@masi.ibp.fr>


-DG



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