Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 15:43:35 -0900
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Glen Barber <glen.j.barber@gmail.com>
Subject:   Re: What happened to /home?
Message-ID:  <200912231543.35805.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <4ad871310912231634t53ba7df2p830bf1befe50904e@mail.gmail.com>
References:  <20091223230111.GA1188@bsd.remdog.net> <20091223234013.GA1080@bsd.remdog.net> <4ad871310912231634t53ba7df2p830bf1befe50904e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 December 2009 15:34:39 Glen Barber wrote:
> Hi
> 
> On Wed, Dec 23, 2009 at 6:40 PM, Rem P Roberti <remegius@comcast.net> wrote:
> > On 2009.12.24 00:21:47 +0000, Pieter de Goeje wrote:
> >> On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote:
> >> > Today I booted my laptop and discovered that /home was gone.
> >> >  Well...not exactly..but for all intents and purposes.  The system
> >> > isn't seeing it although I can see it when I cd to /.  But if I try
> >> > and cd to /home from there the system tells me "home:Not a directory."
> >> >  What happened, and what can I do about it?
> >> >
> >> > Rem
> >>
> >> Usually /home is a symlink to /usr/home. Perhaps the symlink is busted?
> >> What it the output of `ls -ld /home' ? If you can still login as a
> >> regular user, what does `pwd -P' say just after you are logged in?
> >
> > I can still login as regular user, and when I run 'pwd -P' the output is
> > / and then it goes back to the prompt.  Output of 'ls -ld /home is:
> >
> > lrwxr-xr-x  1 root wheel 8 Dec 18 12:08 /home -> usr/home
> 
> What does 'file /home' say?

It is a symlink. What you really want to see is ls -l /home/. Note the 
trailing slash.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912231543.35805.mel.flynn%2Bfbsd.questions>