[PC-BSD Commits] r2312 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Jul 10 08:47:54 PDT 2008


Author: kris
Date: 2008-07-10 08:47:53 -0700 (Thu, 10 Jul 2008)
New Revision: 2312

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.FindDisk.sh
Log:

Fixed a bug probing for disk drives when a USB stick is present, should correct
some install issues. 



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.FindDisk.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.FindDisk.sh	2008-07-10 15:24:03 UTC (rev 2311)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.FindDisk.sh	2008-07-10 15:47:53 UTC (rev 2312)
@@ -38,7 +38,7 @@
 
 for i in `egrep "^(ad|aacd|mlxd|mlyd|amrd|idad|twed|da|ar|ips|)[0-9]:" /var/run/dmesg.boot | cut -d':' -f1 | sort | uniq`
 do
-  LN="`cat /var/run/dmesg.boot | grep ^$i | grep MB`" >/dev/null
+  LN="`cat /var/run/dmesg.boot | grep ^$i | grep -v "MB/s" | grep MB`" >/dev/null
   echo ${LN}
   fdisk /dev/${i} >/tmp/${i}
   FOUND="1"



More information about the Commits mailing list