9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 23:18 Russ Cox
  0 siblings, 0 replies; 21+ messages in thread
From: Russ Cox @ 2001-11-14 23:18 UTC (permalink / raw)
  To: 9fans

the root file servers are all aliased as kfs so that /boot
(see /sys/src/9/boot) can just exec /kfs.  they used to be
called /fs, but then we kept killing it after upas/fs came
along.  that was bad.

to be a root file system server, you have to accept the -f and -s
flags that dossrv, 9660srv, kfs, etc. all do.

vdfs is like bzfs and gzfs but used vdsqueeze, a compression
program that we don't have the rights to distribute.
(at&t does, though, and it's in


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 23:20 Russ Cox
  0 siblings, 0 replies; 21+ messages in thread
From: Russ Cox @ 2001-11-14 23:20 UTC (permalink / raw)
  To: 9fans

the root file servers are all aliased as kfs so that /boot
(see /sys/src/9/boot) can just exec /kfs.  they used to be
called /fs, but then we kept killing it after upas/fs came
along.  that was bad.

to be a root file system server, you have to accept the -f and -s
flags that dossrv, 9660srv, kfs, etc. all do.

vdfs is like bzfs and gzfs but used vdsqueeze, a compression
program that we don't have the rights to distribute.
(at&t does, though, and it's in david korn's big unix tools kit.)

russ


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 23:04 anothy
  0 siblings, 0 replies; 21+ messages in thread
From: anothy @ 2001-11-14 23:04 UTC (permalink / raw)
  To: 9fans

// ...the interface for things like 9pccd isn't quite as uniform and
// consistent as you might guess...

thanks, since i was just gonna ask. so how do we throw something
different in as the root? what needs to be true of a given program for
it to be suitable for root service? it looks like ones that provide the
file system themselves are aliased to kfs; is this correct? if a given
program can provide the root file system itself, is duplicating what's
done for 9660srv sufficient?

oh, and what's vdfs?
ア



^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 22:35 Russ Cox
  2001-11-14 23:57 ` Dan Cross
  0 siblings, 1 reply; 21+ messages in thread
From: Russ Cox @ 2001-11-14 22:35 UTC (permalink / raw)
  To: 9fans

Umm, everything _is_ based on PCM audio samples.
Divorcing devaudio from the soundblaster isn't
a bad idea by itself though.

(And while I'm writing, the interface for things
like 9pccd isn't quite as uniform and consistent
as you might guess from my posting.  It only worked
because someone anticipated the need to do that.
Grep for 9660srv in /sys/src/9/port/*.)

Russ


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 21:34 forsyth
  0 siblings, 0 replies; 21+ messages in thread
From: forsyth @ 2001-11-14 21:34 UTC (permalink / raw)
  To: 9fans

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

this is what i used
cpu% diff pcdisk pccd
52,53c52,53
< 	cfs.root
< 	kfs.root
---
> #	cfs.root
> #	kfs.root
54a55
> 	9660srv.root
93,94c94
< boot boot #S/sdC0/
< 	il
---
> boot glenda #S/sdC1/data

[-- Attachment #2: Type: message/rfc822, Size: 1458 bytes --]

To: 9fans@cse.psu.edu
Subject: Re: [9fans] ideas for a new install procedure
Date: Wed, 14 Nov 2001 15:03:15 -0500
Message-ID: <20011114200333.D74B5199ED@mail.cse.psu.edu>

9pccd is trivial.

change kfs.root to 9660srv.root in
your kernel config file and recompile.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 21:33 forsyth
  2001-11-14 22:33 ` Dan Cross
  0 siblings, 1 reply; 21+ messages in thread
From: forsyth @ 2001-11-14 21:33 UTC (permalink / raw)
  To: 9fans

actually, i'd say the real problem is writing all the required
drivers in the first place, not the dynamic loading of
the same.  no, that's not right.  the real problem is getting
the data required to be able to write the drivers.

so, who volunteers to write what?
perhaps a list of need-driver/will-attempt on the wiki?


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 20:03 Russ Cox
  2001-11-14 21:22 ` Dan Cross
  0 siblings, 1 reply; 21+ messages in thread
From: Russ Cox @ 2001-11-14 20:03 UTC (permalink / raw)
  To: 9fans

9pccd is trivial.

change kfs.root to 9660srv.root in
your kernel config file and recompile.



^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 14:31 Fco.J.Ballesteros
  0 siblings, 0 replies; 21+ messages in thread
From: Fco.J.Ballesteros @ 2001-11-14 14:31 UTC (permalink / raw)
  To: 9fans

9pcdisk size is 1363915 for me.
9pcdisk.bz2 is 493175

Don't know if that rate would be enough to make new kernels fit
into the installation floppy.


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] ideas for a new install procedure
@ 2001-11-14 10:44 geoff
  2001-11-14 14:07 ` William Josephson
  2001-11-15 10:41 ` Ralph Corderoy
  0 siblings, 2 replies; 21+ messages in thread
From: geoff @ 2001-11-14 10:44 UTC (permalink / raw)
  To: 9fans

9pc*.gz are compressed with gzip:

; ed - /sys/src/9/pc/mkfile
/gzip/;-,.p
$p$CONF.gz: $p$CONF
	strip < $p$CONF | gzip -9 > $p$CONF.gz

I haven't been impressed with bzip2.  It consumes a lot more cpu time
and doesn't seem to yield correspondingly better compression.  The
comparison I made was compressing the first 1GB of an image of a
heavily-used 4.5 GB disk, using gzip, gzip -9, bzip2 and bzip2 -9.  It
compressed down to about 45% of original size.  -9 never helped much
(maybe 5% at most) and bzip2 consumed about an order of magnitude more
cpu time for very little gain, maybe another 5%.  I like to get my
gigabytes compressed while I'm still young enough to enjoy them, so
I've pretty much given up on bzip2.  If you had to shave a few
kilobytes off a compressed kernel to make the install kit fit on a
floppy, it might be worth using bzip2 -9.



^ permalink raw reply	[flat|nested] 21+ messages in thread
* [9fans] ideas for a new install procedure
@ 2001-11-14  9:18 Fco.J.Ballesteros
  2001-11-14 16:09 ` Jason Gurtz
  2001-11-14 19:46 ` Dan Cross
  0 siblings, 2 replies; 21+ messages in thread
From: Fco.J.Ballesteros @ 2001-11-14  9:18 UTC (permalink / raw)
  To: 9fans

One way would be to ship a kernel with just enough to download another
kernel from the network (like the 50M distribution file). Then
use that kernel to boot the real installer.

I think I like this more than I like dynamic modules for the kernel
(which I think I read are being included). But if that's the case, these
modules can also be downloaded either from the net or from wherever the
50M dist file is being downloaded.

Also, is 9pcdisk.gz using bzip2? If not, bzip2 can reach higher
compression rates. Still remember when I had to use `make bzImage'
instead of `make zImage' for linux...

hth



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-11-15 17:24 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-14 23:18 [9fans] ideas for a new install procedure Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-11-14 23:20 Russ Cox
2001-11-14 23:04 anothy
2001-11-14 22:35 Russ Cox
2001-11-14 23:57 ` Dan Cross
2001-11-14 21:34 forsyth
2001-11-14 21:33 forsyth
2001-11-14 22:33 ` Dan Cross
2001-11-14 23:03   ` Jason Gurtz
2001-11-14 23:59     ` Dan Cross
2001-11-15 17:24       ` Jason Gurtz
2001-11-14 20:03 Russ Cox
2001-11-14 21:22 ` Dan Cross
2001-11-14 14:31 Fco.J.Ballesteros
2001-11-14 10:44 geoff
2001-11-14 14:07 ` William Josephson
2001-11-15 10:41 ` Ralph Corderoy
2001-11-15 14:09   ` Sam Hopkins
2001-11-14  9:18 Fco.J.Ballesteros
2001-11-14 16:09 ` Jason Gurtz
2001-11-14 19:46 ` Dan Cross

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