On Friday 07 October 2005 20:37, Derek R. Meiresonne wrote: > OK guys; I am trying to concat both of what you guys have said... > > 1) On Host: brw-r--r-- 1 root root 98, 1 Oct 7 12:52 /dev/ubd0p1 > > 2) On UML: brw-r--r-- 1 root root 98, 1 Oct 7 12:52 /dev/ubd0p1 > > 3) /root/uml/linux-2.6.12.3/linux root=98:1 > 98:1=/backup/Slackware-10.1.ext2-795 eth0=tuntap,,,207.230.28.10 mem=64M > umid=795 Sorry, but there's some other misunderstanding.
You can't attach different files to different partitions *directly*. I talked about this, but I meant something different; you need to fool UML, via DeviceMapper.* If you have two files, you say ubd0=file1 ubd1=file2 on the cmd line; then, you can use fdisk on /dev/ubd0 or ubd1 to partition it and use it like a normal drive. * You would "losetup" the two files, splice them together via DeviceMapper (doing something much like RAID linear mode, i.e. creating a virtual device appending them together) and pass UML the RAID device. Actually it's more complicated - you need to prepend a sector on which to host the partition table, and fill it in. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user