Subject: Re: determining an iso from vnd
To: George Georgalis <george@galis.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/01/2007 12:05:43
> I have a iso file mounted in the filesyste....
> 
> Filesystem    Size      Used     Avail Capacity  iused    ifree  %iused  Mounted on
> /dev/vnd0d     12M      12M        0B   100%        0        0     0%   /mnt
> 
> is there any way to determine where the iso is located? lsof
> didn't help me, should it?

vnconfig -l

That will tell you file system and inode. For example:

glacier:/opt/rainier/pkgsrc$ sudo vnconfig -l
vnd0: /opt (/dev/wd0f) inode 625836
vnd1: not in use
vnd2: not in use
vnd3: not in use

glacier:/opt/rainier/pkgsrc$ find /opt -xdev -inum 625836 2>/dev/null
/opt/home/reed/netbsd-i386.iso


  Jeremy C. Reed