System information
84 Sharing and maintaining SLES 10 SP2 Linux under z/VM
fi
# start with a clean mtab and enter root fs entry
rm -f /etc/mtab*
mount -f /
;;
stop)
;;
# ROR: add 3
halt|reboot)
mount -n -o remount,ro /local 2> /dev/null
;;
restart)
rc_failed 3
rc_status -v
;;
status)
rc_failed 4
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
exit 1
;;
esac
rc_exit
1.10.6 Configuration file /etc/fstab
Following is the contents of the sbin/fstab.ror file. It is copied to the read-only gold system
as /etc/fstab:
/dev/disk/by-path/ccw-0.0.01b1-part1 / ext2 ro,noatime,nodiratime 0 0
/dev/disk/by-path/ccw-0.0.01b0-part1 /boot ext2 ro,noatime,nodiratime 0 0
/dev/disk/by-path/ccw-0.0.01b5-part1 /local ext3 noauto,acl,user_xattr 0 0
/dev/disk/by-path/ccw-0.0.01b8-part1 /opt ext2 ro,noatime,nodiratime 0 0
/dev/disk/by-path/ccw-0.0.01b7-part1 /usr ext2 ro,noatime,nodiratime 0 0
/dev/disk/by-path/ccw-0.0.01b6-part1 /var ext3 acl,user_xattr 0 0
/dev/disk/by-path/ccw-0.0.01b2-part1 swap swap defaults 0 0
/dev/disk/by-path/ccw-0.0.01b3-part1 swap swap defaults 0 0
/dev/disk/by-path/ccw-0.0.01b4-part1 swap swap defaults 0 0
/dev/disk/by-path/ccw-0.0.0320-part1 /local/.var ext3 ro,noatime,nodiratime 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
1.11 z/VM code
This section contains EXECs and other files that will run on z/VM.
“COPYMDSK EXEC” on page 85
“CLONERO EXEC” on page 85
“CLONERW EXEC” on page 87
“MNT2GOLD EXEC” on page 89
“MNT2TST EXEC” on page 90
“PROFILE EXEC” on page 91
“RO2GOLD EXEC” on page 92