Subject: vnconfig is broken (was: vnd is broken?)
To: None <current-users@NetBSD.org>
From: Denis Lagno <dlagno@rambler.ru>
List: current-users
Date: 05/09/2005 22:36:27
On Mon, May 09, 2005 at 09:08:37PM +0400, Denis Lagno scribed:
> Hi,
> 
> I have the same behaviour with fresh 3.99.3 and 3.99.2:
> 
> # ll some_file
> -rw-r--r--  1 root  wheel  8388608 Mar 13 15:45 some_file
> # vnconfig -c vnd0 some_file
> vnconfig: vnd0d: VNDIOCSET: Inappropriate ioctl for device
> # vnconfig -c vnd1 some_file
> # vnconfig -l
> vnconfig: VNDIOCGET: Inappropriate ioctl for device

looks like vnconfig requires path:

# vnconfig -c /dev/vnd0 some_file
# vnconfig -l
vnconfig: VNDIOCGET: Inappropriate ioctl for device
# vnconfig -l /dev/vnd0
vnd0: / (/dev/wd0a) inode 41472