9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] partitioning with prep(8)
Date: Fri, 17 Jun 2011 16:52:05 -0700	[thread overview]
Message-ID: <BANLkTikSurUBNKHH5Q5+HbfRvvPZYWDi-Q@mail.gmail.com> (raw)

I created plan9 subpartitions on my disk and wanted
to remove one and make two new ones.
Here's the scheme (500 GB hdd, all of it plan9 partition,
512 byte sectors):

9fat 0-24800
nvram 204800-204801
fscfg 204801-204802
fs 204802-10690562
swap 10690562-11739138
empty 11739138-89904498
worm 89904498-246205986

When I go to partition the `empty' area, prep(8) decides
that it doesn't want to let me access part of it:

>>> a other
start sector: 11739138
end [11739138..78155217]

However, I can, by hand, type in

echo part other 11739138 89904498 > /dev/sdC0/ctl

and it will create that partition for me. So why is prep(8)
bugging out here? And if I need to avoid prep(8), then
how can I reclaim the partition I added by hand, on boot
(since /rc/bin/diskparts uses prep(8) with -p option, which
then doesn't recognize the partition I created by hand)?


ak



             reply	other threads:[~2011-06-17 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 23:52 Akshat Kumar [this message]
2011-06-18  0:19 ` Akshat Kumar

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=BANLkTikSurUBNKHH5Q5+HbfRvvPZYWDi-Q@mail.gmail.com \
    --to=akumar@mail.nanosouffle.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).