Date: Mon, 29 May 2000 20:57:08 -0500 From: "Mark A. Hummel" <mhumm@ispchannel.com> To: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Directory confusion ??? Message-ID: <39331FF4.9269F630@ispchannel.com> References: <NEBBIJCLELPGBFNNJOFHAENJCAAA.jpaetzel@hutchtel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39331FF4.9269F630>