diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-04-28 22:38:29 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-04-28 22:38:29 +0000 |
commit | 24f96acf8067ef332fde0ef3808c1de14836bffb (patch) | |
tree | a7d61f9fa3cf0084f9370e882157c08c03dca348 /rc/bin/inst/bootsetup | |
parent | d1a1034cbe1492a5b4cfdac5c3190dd5d069bc4f (diff) | |
download | plan9front-24f96acf8067ef332fde0ef3808c1de14836bffb.tar.xz |
inst: ask to ream filesystem, use 16K blocksize for copydist, fix missed mount in bootsetup
Diffstat (limited to 'rc/bin/inst/bootsetup')
-rwxr-xr-x | rc/bin/inst/bootsetup | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup index 90d3389f1..71175960d 100755 --- a/rc/bin/inst/bootsetup +++ b/rc/bin/inst/bootsetup @@ -24,17 +24,16 @@ case go echo 'mouseport='^$mouseport echo 'monitor='^$monitor echo 'vgasize='^$vgasize + echo '*nomp=1' } >/tmp/plan9.ini } - if(! test -f /tmp/plan9ini.bak) - cp /tmp/plan9.ini /tmp/plan9ini.bak need9fatformat=no if(! isfat $fat) need9fatformat=yes if(! test -f /srv/dos) dossrv - if not if(! mount -c /srv/dos /n/9fat /dev/$disk/9fat >[2]/dev/null) + if(! mount -c /srv/dos /n/9fat $fat >[2]/dev/null) need9fatformat=yes if not if(! test -f /n/9fat/plan9.ini) need9fatformat=yes @@ -44,10 +43,7 @@ case go disk/format -r 2 -d -b /386/pbs $fat /n/newfs/386/9bootfat mount -c /srv/dos /n/9fat $fat } - logprog cp /tmp/plan9.ini /n/9fat/plan9.ini - if(test -f /tmp/plan9ini.bak) - logprog cp /tmp/plan9ini.bak /n/9fat/plan9ini.bak logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat logprog cp /n/newfs/386/9pcf /n/9fat/9pcf |