version 1.7.2.6, 2018/01/01 21:54:24
|
version 1.7.2.7, 2018/07/06 00:23:20
|
Line 21 export HOME PATH TERM BLOCKSIZE EDITOR PAGER
|
Line 21 export HOME PATH TERM BLOCKSIZE EDITOR PAGER
|
ETCDEV="md1" |
ETCDEV="md1" |
ETCSIZE="8m" |
ETCSIZE="8m" |
|
|
|
VARDEV="md2" |
|
VARSIZE="16m" |
|
|
FRMDEV="md3" |
FRMDEV="md3" |
FRMSIZE="48m" |
FRMSIZE="48m" |
FRMFILE="elwix-firmware.sys" |
FRMFILE="elwix-firmware.sys" |
Line 96 mount_usr()
|
Line 99 mount_usr()
|
|
|
echo "ELWIX>>> Firmware RootFS boot stage ..." |
echo "ELWIX>>> Firmware RootFS boot stage ..." |
|
|
|
mount -ttmpfs tmpfs /tmp |
|
mdmfs -s $VARSIZE -S -n $VARDEV /var |
|
|
if test -c $ELWIX2; then |
if test -c $ELWIX2; then |
BOOTSLICE=`kenv currdev` |
BOOTSLICE=`kenv currdev` |
if test "${BOOTSLICE#disk0}" != "a:"; then |
if test "${BOOTSLICE#disk0}" != "a:"; then |
Line 103 if test -c $ELWIX2; then
|
Line 109 if test -c $ELWIX2; then
|
fi |
fi |
fi |
fi |
|
|
if ! mount -o ro $ELWIX $FRMPATH; then | if ! mount -o ro $ELWIX $FRMPATH 1>/dev/null 2>&1; then |
umount $FRMPATH | umount $FRMPATH 1>/dev/null 2>&1 |
fsck -y $ELWIX 1>/dev/null 2>&1 |
fsck -y $ELWIX 1>/dev/null 2>&1 |
if ! mount -o ro $ELWIX $FRMPATH; then | if ! mount -o ro $ELWIX $FRMPATH 1>/dev/null 2>&1; then |
umount -f $FRMPATH | umount -f $FRMPATH 1>/dev/null 2>&1 |
fsck -f -y $ELWIX 1>/dev/null 2>&1 |
fsck -f -y $ELWIX 1>/dev/null 2>&1 |
if ! mount -o ro $ELWIX $FRMPATH; then |
if ! mount -o ro $ELWIX $FRMPATH; then |
failed_sysvol mount "system volume" | failed_sysvol mount "storage volume" |
fi | |
fi | |
fi | |
| |
if ! mount -a; then | |
umount -A | |
fsck -y 1>/dev/null 2>&1 | |
if ! mount -a; then | |
umount -A -f | |
fsck -f -y 1>/dev/null 2>&1 | |
if ! mount -a; then | |
failed_sysvol mount "system volume" | |
fi |
fi |
fi |
fi |
fi |
fi |