Subject: Re: vnconfig fails
To: Axel Steiner <ast-netbsd-help@treibsand.com>
From: Dick Davies <rasputnik@hellooperator.net>
List: netbsd-help
Date: 04/30/2004 14:34:31
* Axel Steiner <ast-netbsd-help@treibsand.com> [0443 13:43]:
> Hi,
> I'm trying to mount a file image. When I configure 
> a pseudo disk device with "vnconfig vnd0 image"
> I always get: 
> 
> vnconfig: /dev/rvnd0d: VNDIOCSET: Invalid argument

 From http://www.netbsd.org/Documentation/bootcd.html#netbsd_mountimage :   

-----------------------------------
  vnconfig -c vnd0 output.iso
  mount -t cd9660 /dev/vnd0c /mnt

Please note that on i386 systems, you should use /dev/vnd0d instead of /dev/vnd0c.
Now you can cd to /mnt and explore your newly created CD image.
To unmount the image, do the following:

  umount /mnt 
  vnconfig -u vnd0

-----------------------------------

If that still fails, try as root (might be a permission thing).
 
-- 
Famous, adj.:
	Conspicuously miserable.
		-- Ambrose Bierce
Rasputin :: Jack of All Trades - Master of Nuns