diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-14 01:42:32 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-14 01:42:32 +0100 |
commit | ecebba779f8cb55dadac70ef1c109e9e69c63423 (patch) | |
tree | f003eabc02cfe1f67b6069f946f2d0741607520a /lib | |
parent | 24150b117110e982496b10c2f1dfef329160a36a (diff) | |
download | plan9front-ecebba779f8cb55dadac70ef1c109e9e69c63423.tar.xz |
provide /n and /mnt early in bootrc to allow consistent use in /lib/namespace
theres a bootstrap problem:
when /bin/init is run, it processes /lib/namespace where we might want to
mount or bind resources to /n or /mnt. but mntgen was run later in
cpurc/termrc so these mounts would be ignored.
we already have mntgen in bootfs, so we can provide these mountpoints early.
i keep the termrc/cpurc mntgens where they are, but ignore the error
prints. this way old kernels will continue to work.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/namespace | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/namespace b/lib/namespace index 31e74bcfe..f98f62a2a 100644 --- a/lib/namespace +++ b/lib/namespace @@ -31,8 +31,8 @@ mount -a /srv/cs /net mount -a /srv/dns /net mount -a /srv/net /net -mount -qC /srv/boot /n/other other -bind -qc /n/other/usr/$user/tmp /usr/$user/tmp +mount -C /srv/boot /n/other other +bind -c /n/other/usr/$user/tmp /usr/$user/tmp bind -c /usr/$user/tmp /tmp cd /usr/$user |