Import sources from 2011-03-30 iso image - lib
This commit is contained in:
parent
1206371abb
commit
a9060cc06b
14419 changed files with 108804 additions and 0 deletions
38
lib/namespace
Executable file
38
lib/namespace
Executable file
|
@ -0,0 +1,38 @@
|
|||
# root
|
||||
mount -aC #s/boot /root $rootspec
|
||||
bind -a $rootdir /
|
||||
bind -c $rootdir/mnt /mnt
|
||||
|
||||
# kernel devices
|
||||
bind #c /dev
|
||||
bind #d /fd
|
||||
bind -c #e /env
|
||||
bind #p /proc
|
||||
bind -c #s /srv
|
||||
bind -a #¤ /dev
|
||||
bind -a #S /dev
|
||||
|
||||
# mount points
|
||||
mount -a /srv/slashn /n
|
||||
|
||||
# authentication
|
||||
mount -a /srv/factotum /mnt
|
||||
|
||||
# standard bin
|
||||
bind /$cputype/bin /bin
|
||||
bind -a /rc/bin /bin
|
||||
|
||||
# internal networks
|
||||
# mount -a /srv/ip /net
|
||||
bind -a #l /net
|
||||
bind -a #I /net
|
||||
mount -a /srv/cs /net
|
||||
mount -a /srv/dns /net
|
||||
mount -a /srv/net /net
|
||||
|
||||
bind -c /usr/$user/tmp /tmp
|
||||
cd /usr/$user
|
||||
|
||||
. /lib/namespace.local
|
||||
. /lib/namespace.$sysname
|
||||
. /cfg/$sysname/namespace
|
Loading…
Add table
Add a link
Reference in a new issue