On Thursday 24 March 2005 23:14, Jelle Boomstra wrote: > On Thursday 24 March 2005 22:57, Jim Carter wrote: > > The only problem is, there's no easy way on the host to mount a partition > > (that I know of). You need a working UML, and you temporarily attach the > > image file to it and do your thing. > > Blaisorblade posted a handy script here a while back that lets you do that. > You nee to tell mount to use an offset to skip to the first partition (I > suppose you can mount other partitions with the right offset too, don't > know if the script supports this though) > > What I have not found yet is a way to create a filesystem on a newly > partitioned file without resorting to a uml. Loopmount the partition in the file with the right offset and do what you need. Obviously, if you are talking about COW files, you are right - there is still no way to do what you need. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade
------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user