diff options
Diffstat (limited to 'configs/boot/nfs-server.rcS')
-rwxr-xr-x | configs/boot/nfs-server.rcS | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configs/boot/nfs-server.rcS b/configs/boot/nfs-server.rcS index f09b547bd..21b7ab83c 100755 --- a/configs/boot/nfs-server.rcS +++ b/configs/boot/nfs-server.rcS @@ -4,7 +4,7 @@ # echo -n "mounting swap..." -/sbin/swapon /dev/hdc1 +/sbin/swapon /dev/hdc echo "done." echo -n "setting up network..." @@ -38,16 +38,16 @@ echo "done." # mknod /dev/sda1 b 8 1 #fi -/sbin/insmod /modules/scsi_debug.ko dev_size_mb=128 +/sbin/insmod /modules/scsi_debug.ko dev_size_mb=768 echo -n "creating partition and formatting..." -echo "1,120,L" > /tmp/sfdisk.run -/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run -/sbin/mke2fs /dev/sda1 +#echo "1,767,L" > /tmp/sfdisk.run +#/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run +/sbin/mke2fs -F /dev/sda mkdir /nfs -/bin/mount /dev/sda1 /nfs +/bin/mount /dev/sda /nfs chmod a+rwx /nfs -/usr/sbin/sfdisk -uM -l /dev/sda +#/usr/sbin/sfdisk -uM -l /dev/sda echo "done." echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports |