9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Iruata Souza <iru.muzgo@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usb disks in plan9
Date: Mon, 23 Nov 2009 08:20:33 -0200	[thread overview]
Message-ID: <d1c554290911230220y2d40cdacm55414c8487291438@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSI.4.64.0911220753460.13404@malasada.lava.net>

On Sun, Nov 22, 2009 at 3:57 PM, Tim Newsham <newsham@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
>
>



  parent reply	other threads:[~2009-11-23 10:20 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
2009-11-23 10:20       ` Iruata Souza [this message]
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=d1c554290911230220y2d40cdacm55414c8487291438@mail.gmail.com \
    --to=iru.muzgo@gmail.com \
    --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).