Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 11:42:08 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Randall Hopper <aa8vb@ipass.net>, questions@FreeBSD.ORG
Subject:   Re: /..  ??? -- A file system question
Message-ID:  <19990323114208.S442@lemis.com>
In-Reply-To: <19990322200513.A1568@ipass.net>; from Randall Hopper on Mon, Mar 22, 1999 at 08:05:13PM -0500
References:  <19990322200513.A1568@ipass.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 22 March 1999 at 20:05:13 -0500, Randall Hopper wrote:
> /..
>
> Why does the root directory of a UNIX file system have a ".." entry?  

For compatibility reasons.  It costs almost nothing, and it may save
certain programs problems.

> Where does it go?

It points to itself:

$ ls -ali /
total 4
   2 drwxr-xr-x  42 root  wheel     1024 Mar 12 17:12 .
   2 drwxr-xr-x  42 root  wheel     1024 Mar 12 17:12 ..

BTW, it's also always inode 2.

> I'm also waiting on how many licks it takes to get to the middle of
> a tootsie roll tootsie pop.

Which version of FreeBSD?

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990323114208.S442>