diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 05:19:29 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 05:19:29 +0000 |
commit | 792b186b3a1d3360592d085062cab81d725f76c7 (patch) | |
tree | b455d0c8648558c2e872c3c5e4db49d3a3eb66c1 /sys/src/9/boot/boot.c | |
parent | f83d4972db310ce49036b4aae5d0c1da22ca95b9 (diff) |
boot(8): replace bzfs with paqfs
Diffstat (limited to 'sys/src/9/boot/boot.c')
-rw-r--r-- | sys/src/9/boot/boot.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c index 74b18a482..420831b4a 100644 --- a/sys/src/9/boot/boot.c +++ b/sys/src/9/boot/boot.c @@ -16,6 +16,7 @@ boot(int argc, char *argv[]) { Waitmsg *w; int pid, i; + char buf[32]; fmtinstall('r', errfmt); @@ -54,10 +55,10 @@ boot(int argc, char *argv[]) setenv("bootdisk", bootdisk, 0); /* setup the boot namespace */ - run("/boot/mntgen", "-s", "slash", "/mnt", nil); - run("/boot/bzfs", "-f", "/boot/rootfs.bz2", "-m", "/mnt/broot", nil); - bind("/mnt/broot", "/", MAFTER); - bind("/386/bin", "/bin", MAFTER); + run("/boot/paqfs", "-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); |