[Fai-commit] r5804 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Mon Jun 14 18:34:30 UTC 2010
Author: lange
Date: 2010-06-14 18:34:29 +0000 (Mon, 14 Jun 2010)
New Revision: 5804
Modified:
trunk/debian/changelog
trunk/lib/disk-info
Log:
disk-info: rename subroutine
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2010-06-14 18:26:36 UTC (rev 5803)
+++ trunk/debian/changelog 2010-06-14 18:34:29 UTC (rev 5804)
@@ -9,6 +9,7 @@
* updatebase: remove pre-lenny code
* make-fai-nfsroot, make-fai-nfsroot.8: add option -B, (closes: #576092)
(thanks to Mika Prokop for the patch)
+ * disk-info: rename subroutine
-- Thomas Lange <lange at debian.org> Mon, 14 Jun 2010 20:26:25 +0200
Modified: trunk/lib/disk-info
===================================================================
--- trunk/lib/disk-info 2010-06-14 18:26:36 UTC (rev 5803)
+++ trunk/lib/disk-info 2010-06-14 18:34:29 UTC (rev 5804)
@@ -6,7 +6,7 @@
# Short-Description: <task desc.>
### END SUBROUTINE INFO
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-diskandsize() {
+checkdisk() {
while read major minor blocks device suffix; do
isdisk=1
@@ -19,6 +19,6 @@
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# echo a space separated list of devices and their block size
-egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b' /proc/partitions | diskandsize
+egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b' /proc/partitions | checkdisk
More information about the Fai-commit
mailing list