Subject: Re: kern/642: lstat() returns wrong inode for symlink?
To: Simon J. Gerraty <>
From: Ken Hornstein <>
List: netbsd-bugs
Date: 12/15/1994 10:20:10
>>Synopsis:       lstat("/sys") gives st_ino==2 but its a symlink.

I remember this coming up a while ago; I was under the impression that
symlinks aren't "real" files, per se, but they take the inode number of the
directory that they are in.  Whether or not this is desirable is another
question :-)  (If I recall, it was a subject of a lot of heated debate at the