NetBSD Problem Report #560

From gnats  Mon Nov  7 12:16:08 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id MAA20885 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 7 Nov 1994 12:16:07 -0800
Message-Id: <199411072002.MAA03128@deep_thought.autodesk.com>
Date: Mon, 7 Nov 1994 12:02:06 -0800
From: "James [Greywolf] Graham" <greywolf@autodesk.com>
Reply-To: greywolf@autodesk.com
To: gnats-bugs@NetBSD.ORG
Subject: ls -i returns incorrect inodes on symlinks and root dirs
X-Send-Pr-Version: 3.2

>Number:         560
>Category:       bin
>Synopsis:       ls -i returns incorrect inodes on symlinks and root dirs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 07 12:20:03 +0000 1994
>Closed-Date:    Tue Dec 06 10:10:30 +0000 1994
>Last-Modified:  
>Originator:     
>Release:        1.0
>Organization:
	Autodesk, Inc.
>Environment:
System: NetBSD deep_thought 1.0 NetBSD 1.0 (DEEP_THOUGHT) #2: Fri Oct 28 15:37:42 PDT 1994 greywolf@deep_thought:/usr/src/sys/arch/i386/compile/DEEP_THOUGHT i386

>Description:
	ls -i displays the incorrect inode number on symlinks and directories
	which are roots of filesystems.
	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.

>How-To-Repeat:
	ls -i /		# to see the mount-point dir problem.
	cd /tmp
	ln -s foo bar
	ls -i		# to see the symlink dir problem.
	touch foo
	ls -i		# look again.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Tue Dec 6 02:10:30 PST 1994 
State-Changed-Why:  
This is not a bug, but a `feature' or 4.4BSD. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.