Re: determining an iso from vnd

"Jeremy C. Reed" <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.