[Fai-commit] r4984 - trunk/lib/setup-storage

lange at alioth.debian.org lange at alioth.debian.org
Fri Jun 13 14:22:38 UTC 2008


Author: lange
Date: 2008-06-13 14:22:36 +0000 (Fri, 13 Jun 2008)
New Revision: 4984

Modified:
   trunk/lib/setup-storage/Commands.pm
Log:
print also mountpoint when debugging tuneopts and createopts


Modified: trunk/lib/setup-storage/Commands.pm
===================================================================
--- trunk/lib/setup-storage/Commands.pm	2008-06-13 14:01:50 UTC (rev 4983)
+++ trunk/lib/setup-storage/Commands.pm	2008-06-13 14:22:36 UTC (rev 4984)
@@ -57,8 +57,8 @@
   my ($create_options) = $partition->{fs_options} =~ m/createopts="([^"]+)"/;
   my ($tune_options)   = $partition->{fs_options} =~ m/tuneopts="([^"]+)"/;
   $create_options = $partition->{fs_options} unless $create_options;
-  print "create_options: $create_options\n" if ($FAI::debug && $create_options);
-  print "tune_options: $tune_options\n" if ($FAI::debug && $tune_options);
+  print "$partition->{mountpoint} create_options: $create_options\n" if ($FAI::debug && $create_options);
+  print "$partition->{mountpoint} tune_options: $tune_options\n" if ($FAI::debug && $tune_options);
 
   # check for encryption requests
   $device = &FAI::encrypt_device($device, $partition);




More information about the Fai-commit mailing list