Subject: Re: vnconfig is broken (was: vnd is broken?)
To: None <dlagno@rambler.ru, current-users@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 05/10/2005 20:50:51
On Mon, May 09, 2005 at 10:36:27PM +0400, Denis Lagno wrote:
> 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

Make sure you don't have a file called vnd0 or vnd0d in the current directory.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--