774529e440
This makes it much easier to run a rc program without needing to bind in all of '#s/boot'.
42 lines
639 B
Plaintext
42 lines
639 B
Plaintext
.TH ROOT 3
|
|
.SH NAME
|
|
root \- the root file system
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B /
|
|
.B /boot
|
|
.B /dev
|
|
.B /env
|
|
.B /net
|
|
.B /net.alt
|
|
.B /proc
|
|
.B /rc
|
|
.B /root
|
|
.B /srv
|
|
.fi
|
|
.SH DESCRIPTION
|
|
The syntax
|
|
.L #/
|
|
is illegal, so this device can only be accessed directly by the kernel.
|
|
.PP
|
|
This device is set up by the kernel to be the root of
|
|
the name space.
|
|
The names in the one-level tree are mostly just place-holders,
|
|
to allow a place to
|
|
.IR bind (2)
|
|
to.
|
|
The exception is
|
|
.BR /boot ,
|
|
which contains
|
|
.B /boot/boot
|
|
and any files
|
|
.B /boot/boot
|
|
might need.
|
|
The kernel does an
|
|
.IR exec (2)
|
|
of
|
|
.B /boot/boot
|
|
when initializing.
|
|
.SH SOURCE
|
|
.B /sys/src/9/port/devroot.c
|