From owner-freebsd-newbies Thu Feb 21 13:29: 2 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mailjayb.creighton.edu (MailjayB.creighton.edu [147.134.2.193]) by hub.freebsd.org (Postfix) with ESMTP id 5849537B417 for ; Thu, 21 Feb 2002 13:28:58 -0800 (PST) Received: from bluejay.creighton.edu (bluejay.creighton.edu [147.134.2.20]) by mailjayb.creighton.edu (8.9.3 (PHNE_18546)/8.9.3) with ESMTP id PAA00137; Thu, 21 Feb 2002 15:28:52 -0600 (CST) Date: Thu, 21 Feb 2002 15:28:51 -0600 (CST) From: Chris Wilmes To: Shawn Halloran Cc: freebsd-newbie Subject: Re: Searching CD-rom directories In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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