[Fai-commit] r5860 - in trunk: debian lib

Thomas Lange lange at alioth.debian.org
Sat Jul 10 10:25:05 UTC 2010


Author: lange
Date: 2010-07-10 10:25:02 +0000 (Sat, 10 Jul 2010)
New Revision: 5860

Modified:
   trunk/debian/changelog
   trunk/lib/subroutines
Log:
subroutines: df output also shows type of file system

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-07-10 08:32:31 UTC (rev 5859)
+++ trunk/debian/changelog	2010-07-10 10:25:02 UTC (rev 5860)
@@ -41,6 +41,7 @@
   * 30-demo: replace script with shell code in 10-misc
   * 40-misc: replace cfengine script with shell script
   * fai-do-scripts: add cfengine 3 support
+  * subroutines: df output also shows type of file system
 
   [ Michael Tautschnig ]
   * control: Move setup-storage to its own package (fai-setup-storage). Thanks

Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2010-07-10 08:32:31 UTC (rev 5859)
+++ trunk/lib/subroutines	2010-07-10 10:25:02 UTC (rev 5860)
@@ -914,7 +914,7 @@
 
     if [ $do_init_tasks -eq 1 ] ; then
 	# show some local information
-	ip -s link show up; df
+	ip -s link show up; df -T
 	# show rx and tx bytes of network device
 	grep . /sys/class/net/*/statistics/*x_bytes | perl -ane 'm#/sys/class/net/(.+)/statistics/(.+):(\d+)# && ($3) && ($1 ne lo) && printf "%s %s %.2f Mbytes\n",$1,$2,$3/1000000 '
 	# umount swap space




More information about the Fai-commit mailing list