From owner-freebsd-questions Mon Mar 22 17:12:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 27609152BB for ; Mon, 22 Mar 1999 17:12:34 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA19270; Tue, 23 Mar 1999 11:42:13 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA03662; Tue, 23 Mar 1999 11:42:08 +1030 (CST) Message-ID: <19990323114208.S442@lemis.com> Date: Tue, 23 Mar 1999 11:42:08 +1030 From: Greg Lehey To: Randall Hopper , questions@FreeBSD.ORG Subject: Re: /.. ??? -- A file system question References: <19990322200513.A1568@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990322200513.A1568@ipass.net>; from Randall Hopper on Mon, Mar 22, 1999 at 08:05:13PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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