Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 15:28:51 -0600 (CST)
From:      Chris Wilmes <cwilmes@creighton.edu>
To:        Shawn Halloran <SPHalloran2@hotmail.com>
Cc:        freebsd-newbie <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: Searching CD-rom directories
Message-ID:  <Pine.HPX.4.05.10202211516530.6766-100000@bluejay.creighton.edu>
In-Reply-To: <OE53KwRuo401R2Xuz8x000109db@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Feb 2002, Shawn Halloran wrote:

> I keep trying to search the BSD CD-rom's, but when I use the ls command
> the system returns to the prompt.
> 
> I don't know why I can't read my CD-roms. They are listed in fstab and I
> can change to their directories, but I can not search any discs. I try
> accessing both as a user and as a super user. Are there some permissions
> I need to provide?
> 

Chances are, your fstab is not set to automatically mount the CD at
startup.  Check that fstab file again, and if there is an entry called
"noauto" by the line for the CD, then that means "don't mount
automatically".

Why is the line there at all if it doesn't mount, you ask?  Because it
makes it very easy to mount manually, when and if you want to mount it.
So now you can just type "mount /cdrom" as superuser, and voila!  If the
line wasn't in fstab, you'd have to provide more device and filesystem 
info on the command line, which is always a pain.

If you do want it to mount automatically, remove the "noauto" bit from the
fstab file.  Note that this will probably cause errors to happen if you
don't actually have a CD in the drive at startup.

You may have noticed that the sysinstall program seems to be able to read
from the cd without the CD being mounted.  I think sysinstall does an
automatic mount/unmount when it starts and exits, but I'm not positive.

Good luck.

Chris Wilmes



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPX.4.05.10202211516530.6766-100000>