summaryrefslogtreecommitdiff
path: root/sys/src/9/boot/boot.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-06-04 07:18:11 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-06-04 07:18:11 +0000
commitf55d5517ed35c21b26c3e5eb0211f9a02f341ee1 (patch)
tree2fc160cd977b0d18a5e8cc892e30ad1a02b7324c /sys/src/9/boot/boot.c
parent792b186b3a1d3360592d085062cab81d725f76c7 (diff)
boot(8): strip bootfs
Diffstat (limited to 'sys/src/9/boot/boot.c')
-rw-r--r--sys/src/9/boot/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c
index 420831b4a..496dbd665 100644
--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -55,12 +55,12 @@ boot(int argc, char *argv[])
setenv("bootdisk", bootdisk, 0);
/* setup the boot namespace */
- run("/boot/paqfs", "-m" "/root", "/boot/bootfs.paq", nil);
+ bind("/boot", "/bin", MAFTER);
+ run("/bin/paqfs", "-q", "-c", "8", "-m" "/root", "/boot/bootfs.paq", nil);
bind("/root", "/", MAFTER);
snprint(buf, sizeof(buf), "/%s/bin", cputype);
bind(buf, "/bin", MAFTER);
bind("/rc/bin", "/bin", MAFTER);
- bind("/boot", "/bin", MAFTER);
switch(pid = rfork(RFFDG|RFREND|RFPROC)){
case -1: