9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] adding disks -- kfs
@ 2002-08-25 23:42 presotto
  0 siblings, 0 replies; 4+ messages in thread
From: presotto @ 2002-08-25 23:42 UTC (permalink / raw)
  To: 9fans

we start additional ones from /rc/bin/termrc or /rc/bin/cpurc.  Just
run
	disk/kfs -f <partition> -n <name>
	mount -c /srv/kfs.<name> /wherever


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

* Re: [9fans] adding disks -- kfs
@ 2002-08-26 23:31 Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2002-08-26 23:31 UTC (permalink / raw)
  To: 9fans

The initial prep happens during 9load.  It leaves
just enough partition information around so that
the kernel knows about any Plan 9 and DOS partitions --
basically, whatever 9load knew about.

Echo $sdC0part to see the goo.

Russ


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

* Re: [9fans] adding disks -- kfs
@ 2002-08-26  0:40 Skip Tavakkolian
  0 siblings, 0 replies; 4+ messages in thread
From: Skip Tavakkolian @ 2002-08-26  0:40 UTC (permalink / raw)
  To: 9fans

Thanks. Now I have enough room to play with GCC ☺

I hope I'm not being dense, but for the first kfs, where/when is the
prep executed?

> we start additional ones from /rc/bin/termrc or /rc/bin/cpurc.  Just



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

* [9fans] adding disks -- kfs
@ 2002-08-25 19:58 Skip Tavakkolian
  0 siblings, 0 replies; 4+ messages in thread
From: Skip Tavakkolian @ 2002-08-25 19:58 UTC (permalink / raw)
  To: 9fans

Is there a convention for starting additional kfs's (i.e. additional
disks) and bind/mounting at proper places on startup?  I was hoping
for something in plan9.ini, but I don't see any support there.
I'm not sure where in termrc it would go either.

I think I understand how the initial /kfs gets started from (for
example) 9/pc/bootpcdisk.c calling through struct Method pointers to
configlocal() and connectlocal() in 9/boot/local.c; I can also see the
disk/fdisk and disk/prep executions in termrc but it seems those are
long after '/kfs' has started.  I consulted Nemo's 3r/ed Kernel Notes
document as well, and I'm still not sure of the kfs's moment of
inception.  I think I'm missing something obvious.

Thanks.



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

end of thread, other threads:[~2002-08-26 23:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-25 23:42 [9fans] adding disks -- kfs presotto
  -- strict thread matches above, loose matches on Subject: below --
2002-08-26 23:31 Russ Cox
2002-08-26  0:40 Skip Tavakkolian
2002-08-25 19:58 Skip Tavakkolian

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