9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9fans@9fans.net
Subject: [9fans] partitioning problems - fixed
Date: Mon, 21 Nov 2016 21:32:21 +0000	[thread overview]
Message-ID: <936B92BB-1C04-4464-A2AE-E6972242C49D@quintile.net> (raw)


hi all,

well, after a long slog, and a few wrong turns, it is all obvious.
9load reads the partition table and writes the disk config. it reads
into a 2k buffer but it only reads one sector -512 bytes on my disks,
which is not enough for the large number of partitions i have.

the solution is is simple, plan9.ini has a readparts= option which asks
the kernel to re-read the partition table and setup devsd again. i assume this
was added for just my situation.

a fix for 9load would be fairly simple but a better fix might be to use 9front's
booting structure...

i will fix devfs when i get a chance though, it needs to report errors and attempt to continue in the face of bad configuration lines.

-Steve





                 reply	other threads:[~2016-11-21 21:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=936B92BB-1C04-4464-A2AE-E6972242C49D@quintile.net \
    --to=steve@quintile.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).