Subject: kern/31078: vnconfig(8) shows strange values (64bit inode related?)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtrarom.org>
List: netbsd-bugs
Date: 08/27/2005 11:42:00
>Number:         31078
>Category:       kern
>Synopsis:       vnconfig(8) shows strange values (64bit inode related?)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 27 11:42:00 +0000 2005
>Originator:     Juan RP
>Release:        NetBSD 3.99.8
>Organization:
>Environment:
System: NetBSD Nocturno 3.99.8 NetBSD 3.99.8 (Nocturno) #3: Fri Aug 26 15:42:42 CEST 2005 juan@Nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:

	After booting a kernel with 64 bit inodes,
	vnconfig(8) shows strange values:

[juan@Nocturno][~]> vnconfig -l 
vnd0: / (/dev/wd0a) inode 52557514801155
vnd1: not in use
vnd2: not in use
vnd3: not in use
[juan@Nocturno][~]>

	I have not used any vnd device, that's why I can use
	the first one:

[juan@Nocturno][~]> sudo vnconfig vnd0 netbsd-i386.iso 
[juan@Nocturno][~]> vnconfig -l
vnd0: /home (/dev/wd0h) inode 135796
vnd1: not in use
vnd2: not in use
vnd3: not in use
[juan@Nocturno][~]> sudo vnconfig -u vnd0
[juan@Nocturno][~]> vnconfig -l
vnd0: / (/dev/wd0a) inode 629747487062295232
vnd1: not in use
vnd2: not in use
vnd3: not in use
[juan@Nocturno][~]>

[juan@Nocturno][~]> mount
/dev/wd0a on / type ffs (local)
/dev/wd0g on /var type lfs (local)
/dev/wd0f on /usr type lfs (local)
/dev/wd0e on /winxp type ntfs (read-only, local)
/dev/wd0h on /home type lfs (local)
/dev/wd0i on /mnt/storage type msdos (local)
kernfs on /kern type kernfs (local)
procfs on /proc type procfs (local)
ptyfs on /dev/pts type ptyfs (local)
[juan@Nocturno][~]>

	My userland is from 3 days ago.

>How-To-Repeat:
>Fix: