9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] partitioning problems - fixed
@ 2016-11-21 21:32 Steve Simon
  0 siblings, 0 replies; only message in thread
From: Steve Simon @ 2016-11-21 21:32 UTC (permalink / raw)
  To: 9fans


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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-21 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21 21:32 [9fans] partitioning problems - fixed Steve Simon

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).