9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fs configuration made easy
@ 2011-01-10 21:34 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2011-01-10 21:34 UTC (permalink / raw)
  To: 9fans

i cleaned up the code i wrote to make installing a new file server
a bit easier.  pull contrib quanstro/fs again and read mkfsconf(8).
there is an example configuration in /sys/src/fs/wrens/conf, complete
with a plan9.ini, this is the edited (so cavet emptor) configuration
installed on saturday.

i've also added a corrected fs(8) man page that includes a description
of named partitions.  it's now possible to say
	pa0"fsconf"
which in fs-ese means partition of a0 (ahci disk 0) named
"fsconf".  adding this does seem like overkill.  so let me explain
why i did it this way.  first, percentage-based partitions stopped
working with the enormous drives of today because of rounding
error.  it was impossible to know what sector 95.5 started at without
seeing the exact code used in the calcuation.

i tried using absolute block numbers, but that was just too easy to
get wrong.  and on aoe, it makes it impossible to share the device.

enjoy

- erik



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

only message in thread, other threads:[~2011-01-10 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 21:34 [9fans] fs configuration made easy erik quanstrom

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