From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <8ccc8ba40911220158o571d0f47rb96b3a54b6695efe@mail.gmail.com> Date: Mon, 23 Nov 2009 08:20:33 -0200 Message-ID: From: Iruata Souza To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] usb disks in plan9 Topicbox-Message-UUID: 9ec0a55e-ead5-11e9-9d60-3106f5b1d025 On Sun, Nov 22, 2009 at 3:57 PM, Tim Newsham wrote: >> Usb disks don't know how to handle partitions. >> You have to use partfs IIRC or some other tool to >> partition it. > > Hmm.. =C2=A0Here is what I would like to do. =C2=A0I 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? =C2=A0Or 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 > >