Subject: Re: mounting a disk image
To: mike stone <bsdusr@yawp.com>
From: None <wojtek@3miasto.net>
List: netbsd-users
Date: 05/11/2001 08:16:51
> hey all -
> 
> i've been reading the mount_* manpages recently, wondering if 
> NetBSD can mount the contents of a binary disk image into the 
> global filesystem namespace.   i haven't found anything 
> conclusive, so i thought i'd ask.

man vnconfig. 
then mount virtual device
 
> the idea is simple.. if i make a binary disk image of a floppy or CD:
> 
>      dd if=/dev/fd0a of=disk.img
> 
> i'd like to mount that image as a file tree:
> 
> 	mount_image disk.img /mnt
> 
> without having to write it back to a block-special device, first.
> 
> given what mount_null, mount_union, mount_overlay, and mount_mfs 
> can do, it doesn't seem too outrageous to think that we could 
> read and write a binary image as if it were a device.
> 
> 
> 
> mike
> .
>