On Sun, Nov 22, 2009 at 3:57 PM, Tim Newsham <news...@lava.net> wrote: >> Usb disks don't know how to handle partitions. >> You have to use partfs IIRC or some other tool to >> partition it. > > Hmm.. Here is what I would like to do. I would like to put > a FAT32 and a fossil (or kfs) filesystem on a usb flash drive > and use the FAT32 for botting and the fossil as my root > filesystem. > > Lets say that the usb disk did support partitioning, or I used > the entire usb disk as a single filesystem, is there any > way to specify to mount /srv/usb's sdU4.0/data (or whatever name) > as root? Or would I have to hack a mount of /srv/usb into > /sys/src/9/boot and specify something like "local!/dev/sdU4.0/data"? > > If I use something like partfs, I would have to hack this > into the /sys/src/9/boot stuff, right?
with my changes [1] to boot(8), you could just use !rc as the root and you'd be dropped to rc(1) and could try your setup without having to change the actual sources. iru [1] http://src.oitobits.net/9null > > Is there any long term desire to allow booting off of USB drives? > > Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com > >