Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 19:17:20 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Wyatt Banks <banksw@sunyit.edu>
Cc:        questions@freebsd.org
Subject:   Re: cdrom mounting
Message-ID:  <20001010191720.B252@parish>
In-Reply-To: <Pine.GSO.4.21.0010101330590.11721-100000@demeter>; from banksw@sunyit.edu on Tue, Oct 10, 2000 at 01:33:08PM -0400
References:  <20001010175707.A252@parish> <Pine.GSO.4.21.0010101330590.11721-100000@demeter>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 10, 2000 at 01:33:08PM -0400, Wyatt Banks wrote:
> 
> 
> On Tue, 10 Oct 2000, Mark Ovens wrote:
> 
> > On Mon, Oct 09, 2000 at 07:56:08PM -0400, Wyatt Banks wrote:
> > > When I have my cdrom mount listed in fstab, my computer will not boot
> > > correctly without a cdrom in the drive.  With a cdrom in the drive, it
> > > boots and I can access it fine.  Does this sound correct?
> > > I thought I read something about a limitation being that the cd must be in
> > > the drive to mount it, or something similar, but can't find where I read
> > > it.  I spent all day looking in 'The Complete FreeBSD' and reading man
> > > pages but can't find what I think I read.
> > > Can anyone help?
> > 
> > Sounds like you don't have ``noauto'' in the fstab entry:
> > 
> > /dev/cd0c      /cdrom     cd9660  ro,noauto     0       0
> > 
> > Note that there are no spaces before or after the comma.
> > 
> > > Thanks
> > > banksw@sunyit.edu
> > > 
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > 
> > -- 
> > 		4.4 - The number of the Beastie
> > ________________________________________________________________
> > 51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
> > 2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
> > mailto:marko@freebsd.org                http://www.radan.com
> > 
> 
> for some reason, mine won't work if I include the command and noauto.

I'm not sure exactly what you mean by "include the command", but this
should work even if you comment out the entry in /etc/fstab:

	# mount -t cd9660 /dev/acd0c /cdrom

With an entry (un-commented) in /etc/fstab you should just have to do:

	# mount /cdrom

Note that you must be root to mount it.

The ``noauto'' option merely stops FreeBSD attempting to mount it at boot.
If there is anything wrong with the entry in /etc/fstab then you should get
some kind of error/warning when you try to use ``mount /cdrom''.

Just one thing; you aren't trying to mount an audio CD are you?

> I copied my original fstab file in case I messed it up when I first read how
> to use fstab.  I just verified that the original line in fstab was:
> /dev/acd0c  /cdrom  cd9660  ro,noauto 0 0
> 
> I am able to mount it from the shell, or using fstab with device acd0a or
> acd0c, but if I include the comma and noauto in fstab, it does not seem to
> mount my cdrom.
> Any other possibilities of what could be wrong with it?
> 

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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