nfs-server.rcS (1187:bcc6d5a1f6e4) nfs-server.rcS (1425:6c591a4bd6e5)
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
6echo -n "mounting swap..."
7/sbin/swapon /dev/hdc
8echo "done."

--- 24 unchanged lines hidden (view full) ---

33echo "done."
34
35#if [ ! -x /dev/sda ]
36#then
37# mknod /dev/sda b 8 0
38# mknod /dev/sda1 b 8 1
39#fi
40
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
6echo -n "mounting swap..."
7/sbin/swapon /dev/hdc
8echo "done."

--- 24 unchanged lines hidden (view full) ---

33echo "done."
34
35#if [ ! -x /dev/sda ]
36#then
37# mknod /dev/sda b 8 0
38# mknod /dev/sda1 b 8 1
39#fi
40
41/sbin/insmod /modules/scsi_debug.ko dev_size_mb=768
41/sbin/insmod /modules/scsi_debug.ko dev_size_mb=512
42
43echo -n "creating partition and formatting..."
44#echo "1,767,L" > /tmp/sfdisk.run
45#/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run
46/sbin/mke2fs -F /dev/sda
47mkdir /nfs
48/bin/mount /dev/sda /nfs
49chmod a+rwx /nfs

--- 21 unchanged lines hidden ---
42
43echo -n "creating partition and formatting..."
44#echo "1,767,L" > /tmp/sfdisk.run
45#/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run
46/sbin/mke2fs -F /dev/sda
47mkdir /nfs
48/bin/mount /dev/sda /nfs
49chmod a+rwx /nfs

--- 21 unchanged lines hidden ---