9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] partition question
Date: Wed,  2 Feb 2005 10:44:35 +0000	[thread overview]
Message-ID: <f603f25ac86e349aac1627752504133c@hamnavoe.com> (raw)
In-Reply-To: <Pine.BSI.4.61.0502011439290.23562@malasada.lava.net>

Some sd partitions are set up as a side effect of the bootstrap
process.  Look at mbrpart() in /sys/src/boot/pc/part.c, which
is called for each sd while probing for possible boot devices.

The comment says
/*
 * Fetch the first dos and all plan9 partitions out of the MBR partition table.
 * We return -1 if we did not find a plan9 partition.
 */
That's why termrc does further probing, to find any extra
partitions besides the above.  To do the same for a CPU server,
you would have to add something to the local cpurc.

-- Richard



  reply	other threads:[~2005-02-02 10:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02  0:44 Tim Newsham
2005-02-02 10:44 ` Richard Miller [this message]
2005-02-02 13:46 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2004-06-14  9:07 [9fans] Partition question Jeremy English

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=f603f25ac86e349aac1627752504133c@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@cse.psu.edu \
    /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).