From owner-freebsd-questions Mon May 29 13:55:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2a.ispchannel.com (smtp.ispchannel.com [24.142.63.7]) by hub.freebsd.org (Postfix) with ESMTP id C545137BCA7 for ; Mon, 29 May 2000 13:55:19 -0700 (PDT) (envelope-from mhumm@ispchannel.com) Received: from ispchannel.com ([208.170.159.57]) by smtp2a.ispchannel.com (InterMail vK.4.02.00.00 201-232-116 license 7d3764cdaca754bf8ae20adf0db2aa60) with ESMTP id <20000529205641.LJLG17546.smtp2a@ispchannel.com> for ; Mon, 29 May 2000 13:56:41 -0700 Message-ID: <39331FF4.9269F630@ispchannel.com> Date: Mon, 29 May 2000 20:57:08 -0500 From: "Mark A. Hummel" Organization: Innovative Solutions X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions Subject: Directory confusion ??? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Once my CD ROM is mounted, I can list the files on it and everything seems to work fine, but how do I get back to my BSD hard drive from the command prompt (#)? Mark Josh Paetzel wrote: > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mark A. Hummel > Sent: Saturday, May 27, 2000 9:03 AM > To: freebsd-questions > Subject: Why can't I cd to some of my directories? > > Greetings, > > I'm re-sending this in plain text... sorry about the html codes in the > last post. > > Sometimes when I try to cd to a directory like /usr/local/... I get an > error message reading: Can't cd to ... > I then try to cd one level down at a time. cd /usr then pwd to find > out I actually made the trip. Then cd local and I get something like, > "Sorry, can't cd to /usr/local." Why? I'm logged in as root. > > Now that I'm thinking about it, after I mount my CD ROM, I can see the > files on it and everything, but, for some reason, I can't unmount it and > I can't get back to a directory on my BSD hard drive where root is > mounted. What's up? > > Sounds to me like your mounting the CDROM off of root. If you mount > something to a directory you effectively hide anything below it in the file > system. i.e. if you mount your cdrom off of / then everything in your file > system is covered by the cdrom. Most people make a directory entry like > /cdrom to mount cdroms to. > > BTW, I'm sure you'll all be happy to know that I just got an email > confirmation that my Complete FreeBSD 4.0 Book was shipped yesterday > (May 26) from Walnut Creek. > > Until then you still have the on-line handbook and FAQ. > > Thanks > > Mark > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message