From ecebba779f8cb55dadac70ef1c109e9e69c63423 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 14 Feb 2016 01:42:32 +0100 Subject: 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. --- lib/namespace | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3