[Planetlab-arch] Anybody done this

Timothy Roscoe <>
Thu Apr 1 06:40:39 CEST 2004


One of the few things that's not yet horribly baroque on Linux:

 mount -t <image_time> -o loop /path/to/image /mnt

 -- Mothy


At Wed, 31 Mar 2004 21:01:17 -0500, "David G. Andersen" <> wrote:
> On Wed, Mar 31, 2004 at 10:21:08AM -0800, Steve Muir scribed:
> > micro-response:
> >
> > On Wed, 31 Mar 2004, Joe Armstrong wrote:
> >
> > >   Also I'd like to make ext2 file systems *inside* files and binaries -
> > > and send complete ext2 filesystems in binaries as messages.
> >
> > you can already do this in Linux using loopback mounts e.g., one can mount
> > an ISO CD-ROM image at a certain mountpoint and access the contents of the
> > image as a (read-only) directory tree.  other UNIX-like systems may have
> > equivalent functionality.
> 
>   On bsd, it's the vnode functionality (4.x and under), or "md"
> functionality in 5.0.  For 4-stable:
> 
>   vnconfig -c -v /dev/cn0 /path/to/image
>   mount -t <image_type> -o <mount_options> /dev/vn0 /mnt
> 
> Ridiculously handy when trying to, say, distribute out filesystem
> images to remote Internet testbed machines. :)  The path to moun
> you can get by just dd'ing a disk to an image file.
> 
>   -Dave
> 
> --
> work:                           me:  
>       MIT Laboratory for Computer Science           http://www.angio.net/
> _______________________________________________
> Arch mailing list
> 
> http://lists.planet-lab.org/mailman/listinfo/arch
> 
> 
> 




More information about the erlang-questions mailing list