9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "James A. Robinson" <jim.robinson@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240
Date: Fri,  4 Nov 2016 20:03:45 +0000	[thread overview]
Message-ID: <CAPd04b6kzbc6AzvOTxvON+CPgN-B=zq3_=Uxp4igOdZD0JKDzg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

So I noticed that if I run disk/prep -b -a^(arenas isect bloom)
against my disk it goes ahead and creates a partition table that
has arenas starting at sector 0.

If I manually create partitions, /sys/src/cmd/disk/prep/prep.c:24
guards against using sectors 0 and 1 unless it's a 9fat partition.

Why is there a difference in the way an automated partition
set is created vs a manual one?

Jim

[-- Attachment #2: Type: text/html, Size: 547 bytes --]

             reply	other threads:[~2016-11-04 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-04 20:03 James A. Robinson [this message]
2016-11-04 20:41 ` Steve Simon
2016-11-04 23:51   ` James A. Robinson

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='CAPd04b6kzbc6AzvOTxvON+CPgN-B=zq3_=Uxp4igOdZD0JKDzg@mail.gmail.com' \
    --to=jim.robinson@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).