9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mount file server
@ 2002-09-11  3:03 YAMANASHI Takeshi
  0 siblings, 0 replies; 2+ messages in thread
From: YAMANASHI Takeshi @ 2002-09-11  3:03 UTC (permalink / raw)
  To: 9fans

Is it possible that a terminal or cpu server
mount a file system other than `filsys main'
as its root file system?

I am building an environment mixed with 3rd and 4th ed,
while using a same file server (successfully updated to
4th ed. fs kernel) for both editions.

I foolishly booted a 4th ed. terminal from the file server.
Of course, it didn't boot because the file system `main' had
(and still has) the 3rd edtition contents.

Thank you.
--



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

* Re: [9fans] mount file server
@ 2002-09-11  3:12 Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2002-09-11  3:12 UTC (permalink / raw)
  To: 9fans

> Is it possible that a terminal or cpu server
> mount a file system other than `filsys main'
> as its root file system?
>
> I am building an environment mixed with 3rd and 4th ed,
> while using a same file server (successfully updated to
> 4th ed. fs kernel) for both editions.
>
> I foolishly booted a 4th ed. terminal from the file server.
> Of course, it didn't boot because the file system `main' had
> (and still has) the 3rd edtition contents.

Yes.  You can set rootspec= and rootdir= in your plan9.ini.

The defaults are of rootspec='' and rootdir=/root.
At boot time, the kernel executes

	mount /srv/boot /root $rootspec
	bind $rootdir /

Russ



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

end of thread, other threads:[~2002-09-11  3:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-11  3:03 [9fans] mount file server YAMANASHI Takeshi
2002-09-11  3:12 Russ Cox

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