From: Tim Newsham <newsham@lava.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usb disks in plan9
Date: Sun, 22 Nov 2009 17:32:30 -1000 [thread overview]
Message-ID: <Pine.BSI.4.64.0911221729100.13404@malasada.lava.net> (raw)
In-Reply-To: <5a38f32b3b16f9577d031d0caff86c72@plan9.bell-labs.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 751 bytes --]
> I'm talking to nemo about what we should do to partition USB devices.
fwiw, I'm using the attached patch to /sys/src/9/pc/boot
to mount my usb drive as root partition, now.
The rootspec I'm using is "local!/dev/sdXX/fossil".
It relies on adding yet more binaries to the ramdisk: partfs,
fdisk and prep. It calls partfs to get a partitionable device,
then runs fdisk and prep to read the existing partitions and
write them back, forcing partfs to see them. Finally I had
to patch the "local" connect method to not replace the
existing /dev, since thats where /dev/sdXX appears.
oh yah, my simple hack just guesses two possible locations
for the USB disk to appear...
Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
[-- Attachment #2: Type: APPLICATION/x-patch, Size: 890 bytes --]
next prev parent reply other threads:[~2009-11-23 3:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 5:20 Tim Newsham
2009-11-22 6:01 ` Tim Newsham
2009-11-22 7:14 ` lucio
2009-11-22 9:58 ` Francisco J Ballesteros
2009-11-22 17:57 ` Tim Newsham
2009-11-22 19:40 ` geoff
2009-11-23 3:32 ` Tim Newsham [this message]
2009-11-23 10:20 ` Iruata Souza
2009-11-26 12:30 ` Ethan Grammatikidis
2009-11-22 12:47 Francisco J Ballesteros
[not found] <<8ccc8ba40911220158o571d0f47rb96b3a54b6695efe@mail.gmail.com>
2009-11-22 17:32 ` erik quanstrom
[not found] <<Pine.BSI.4.64.0911220753460.13404@malasada.lava.net>
2009-11-22 18:11 ` erik quanstrom
2009-11-22 19:45 ` Tim Newsham
[not found] <<Pine.BSI.4.64.0911220945000.13404@malasada.lava.net>
2009-11-22 20:13 ` erik quanstrom
[not found] <<5E0F0A52-7514-430A-B066-C4D440806E08@fastmail.fm>
2009-11-26 13:01 ` erik quanstrom
2009-11-26 13:30 ` Ethan Grammatikidis
2009-11-26 13:51 ` Francisco J Ballesteros
2009-11-26 14:37 ` Ethan Grammatikidis
2009-11-26 13:56 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSI.4.64.0911221729100.13404@malasada.lava.net \
--to=newsham@lava.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).