From: Ben Gras Date: Wed, 31 Aug 2005 16:50:18 +0000 (+0000) Subject: Home is s1 X-Git-Tag: v3.1.0~220 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/syslog.conf.5.html?a=commitdiff_plain;h=81e88ddaa98e15dde653da0b02fb178abc895095;p=minix.git Home is s1 --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 60581b3e2..3f53ea876 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -312,9 +312,8 @@ else fi root=${primary}s0 -swap=${primary}s1 +home=${primary}s1 usr=${primary}s2 -home=${primary}s3 umount /dev/$usr 2>/dev/null && echo "Unmounted $usr for you." umount /dev/$root 2>/dev/null && echo "Unmounted $root for you." umount /dev/$home 2>/dev/null && echo "Unmounted $home for you." @@ -358,9 +357,7 @@ The following subpartitions are now being created on /dev/$primary: # Secondary master bootstrap. installboot -m /dev/$primary /usr/mdec/masterboot >/dev/null || exit # Partition the primary. -p3=0:0 -# test "$swapsize" -gt 0 && p3=81:`expr $swapsize \* 2` -partition /dev/$primary 1 81:32768* $p3 81:0+ 81:$homesize > /dev/null || exit +partition /dev/$primary 1 81:32768* 81:$homesize 81:0+ > /dev/null || exit echo "Creating /dev/$root .." mkfs -B $blocksizebytes /dev/$root || exit