[PC-BSD Commits] r5276 - pcbsd/trunk/pc-sysinstall/backend
svn at pcbsd.org
svn at pcbsd.org
Mon Dec 7 06:13:24 PST 2009
Author: kris
Date: 2009-12-07 06:13:24 -0800 (Mon, 07 Dec 2009)
New Revision: 5276
Modified:
pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh
Log:
Do some waiting after allocating glabel, to help with some issues of the last one dissapearing upon boot
Modified: pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh 2009-12-07 14:10:47 UTC (rev 5275)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-newfs.sh 2009-12-07 14:13:24 UTC (rev 5276)
@@ -72,12 +72,16 @@
UFS) echo_log "NEWFS: /dev/${PART} - ${PARTFS}"
sleep 2
rc_halt "newfs /dev/${PART}${EXT}"
+ sleep 2
rc_halt "glabel label ${PARTLABEL} /dev/${PART}${EXT}"
+ sleep 2
;;
UFS+S) echo_log "NEWFS: /dev/${PART} - ${PARTFS}"
sleep 2
rc_halt "newfs -U /dev/${PART}${EXT}"
+ sleep 2
rc_halt "glabel label ${PARTLABEL} /dev/${PART}${EXT}"
+ sleep 2
;;
UFS+J) echo_log "NEWFS: /dev/${PART} - ${PARTFS}"
sleep 2
@@ -86,12 +90,15 @@
rc_halt "gjournal label -f /dev/${PART}${EXT}"
sleep 2
rc_halt "newfs -O 2 -J /dev/${PART}${EXT}.journal"
+ sleep 2
rc_halt "glabel label ${PARTLABEL} /dev/${PART}${EXT}.journal"
+ sleep 2
;;
ZFS) echo_log "NEWFS: /dev/${PART} - ${PARTFS}"
setup_zfs_filesystem "${PART}" "${PARTFS}" "${PARTMNT}" "${EXT}"
;;
SWAP) rc_halt "glabel label ${PARTLABEL} /dev/${PART}${EXT}"
+ sleep 2
;;
*) exit_err "ERROR: Got unknown file-system type $PARTFS" ;;
esac
More information about the Commits
mailing list