From owner-freebsd-questions Fri Oct 27 00:13:04 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA03694 for questions-outgoing; Fri, 27 Oct 1995 00:13:04 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA03688 for ; Fri, 27 Oct 1995 00:12:58 -0700 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id AAA02161; Fri, 27 Oct 1995 00:12:55 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id AAA00603; Fri, 27 Oct 1995 00:09:49 -0700 Message-Id: <199510270709.AAA00603@corbin.Root.COM> To: scott@statsci.com cc: questions@freebsd.org Subject: Re: Problems In-reply-to: Your message of "Thu, 26 Oct 95 18:28:57 PDT." From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 27 Oct 1995 00:09:49 -0700 Sender: owner-questions@freebsd.org Precedence: bulk >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" -DG