[Fai-commit] r5562 - in trunk: debian lib/setup-storage
Thomas Lange
lange at alioth.debian.org
Mon Oct 19 15:01:28 UTC 2009
Author: lange
Date: 2009-10-19 15:01:28 +0000 (Mon, 19 Oct 2009)
New Revision: 5562
Modified:
trunk/debian/changelog
trunk/lib/setup-storage/Fstab.pm
Log:
Fstab.pm: print uuid and label of partition to console
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-10-18 20:52:59 UTC (rev 5561)
+++ trunk/debian/changelog 2009-10-19 15:01:28 UTC (rev 5562)
@@ -1,4 +1,4 @@
-fai (3.2.23~beta21) unstable; urgency=low
+fai (3.2.23~beta22) unstable; urgency=low
[ Thomas Lange ]
* subroutines-linux: fix log message
@@ -91,6 +91,7 @@
* README: upgrade info about mailing list, add info about questionnaire
* fai: check if make-fai-nfsroot.conf is available if dirinstall is used
* control: update to standards version 3.8.3, no changes needed
+ * Fstab.pm: print uuid and label of partition to console
[ Michael Tautschnig ]
* setup-storage, setup-storage/Exec.pm: auto-detect a proper way to tell
@@ -132,7 +133,7 @@
[ Holger Levsen ]
* update to standards version 3.8.2, no changes needed
- -- Thomas Lange <lange at debian.org> Sun, 18 Oct 2009 00:45:41 +0200
+ -- Thomas Lange <lange at debian.org> Mon, 19 Oct 2009 17:01:05 +0200
fai (3.2.20) unstable; urgency=low
Modified: trunk/lib/setup-storage/Fstab.pm
===================================================================
--- trunk/lib/setup-storage/Fstab.pm 2009-10-18 20:52:59 UTC (rev 5561)
+++ trunk/lib/setup-storage/Fstab.pm 2009-10-19 15:01:28 UTC (rev 5562)
@@ -109,6 +109,10 @@
&FAI::execute_ro_command(
"fai-vol_id -l $device_name", \@label, 0);
+ # print uuid and label to console
+ warn "$device_name UUID=$uuid[0]" if @uuid;
+ warn "$device_name LABEL=$label[0]" if @label;
+
# using the fstabkey value the desired device entry is defined
if ($key_type eq "uuid") {
chomp ($uuid[0]);
More information about the Fai-commit
mailing list