Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 10:15:05 +1000
From:      Danny <dannyh@idx.com.au>
To:        "Mark A. Hummel" <mhumm@ispchannel.com>, freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Directory confusion ???
Message-ID:  <00053110152608.00328@freebsd.freebsd.org>
References:  <39331FF4.9269F630@ispchannel.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Try 

cd /


On Tue, 30 May 2000, Mark A. Hummel wrote:
> 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
--



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?00053110152608.00328>