Subject: Re: bin/560: ls -i returns incorrect inodes on symlinks and root dirs
To: None <email@example.com>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
Date: 11/07/1994 17:22:54
>> The inum displayed by ls -i on a symlink is the same as the file to
>> which it points, or the inum of the current directory if the symlink
>> doesn't point to an existing file.
> This is not a `bug' per se; it was an explicit design decision in
Why was this decision made, anyone know? I have at least one program
this would/will be _disastrous_ for (if/when I try to port it, which I
now may not do), since it means that the only way to find out the
inumber of a symlink is to ensure that its target doesn't exist and
then do a stat() on it.