Subject: Re: bin/560: ls -i returns incorrect inodes on symlinks and root dirs
To: Kenneth Stailey <>
From: I can teach you how to fish... <>
List: netbsd-bugs
Date: 11/07/1994 14:41:48
Tried that.  Bought the OS. :-)

Seriously, though, "ls -Li" produces no different results.

The symlink thing has been explained to me; I'm still at a loss as to why
directories which also happen to be mountpoints are all listed as inode 2
when, WRT the directory in which they happen to live, this would be actually

Take for example /usr.  In /, the entry "usr" should have a different
inum than usr/. and usr/..; this is shown when on most other systems
one does "ls -i /" versus "ls -id /usr".

I'm mostly curious as to what happened with this; having grown up on
systems who all behaved this way (4.[1-3] VAXen, 3.x and 4.x SunOS (BSD
derivatives), A/UX, System V/[68]8 on Motorola, UniPlus (SVR[23] with
BSD additions) and the like), the change appears to my eyes to be a bug.

I don't mean to start unnecessary conversation or waste bandwidth by
misfiling things that were meant to be done; they just seem strange
to me, and changing a paradigm which has been alive for ten years is,
as most of you know, a difficult thing to do.

 _______Wizardry is dead._____ _____WHO: Greywolf (my nameplate even says so)
/ ___\ _ \ __\ V / \  / /__ \| | __/WHAT: UNIX System, Admin
\ \| |   < _| ` ' \ '` / \/ /|_| _/ WHERE: Autodesk, Inc.  3 Harbor Dr.
 \___|_|\_\__\|_|  \/\/ \__/___/_|  Sausalito, CA 94965 (415) 332-2344 x4219
	see also: