[Fai-commit] r5696 - people/michael/experimental/patches

Michael Tautschnig mt at alioth.debian.org
Wed Jan 13 19:59:20 UTC 2010


Author: mt
Date: 2010-01-13 19:59:20 +0000 (Wed, 13 Jan 2010)
New Revision: 5696

Added:
   people/michael/experimental/patches/setup-storage_reiserfs-fix
Modified:
   people/michael/experimental/patches/series
Log:
added reiserfs fix as discussed on linux-fai


Modified: people/michael/experimental/patches/series
===================================================================
--- people/michael/experimental/patches/series	2010-01-12 13:34:07 UTC (rev 5695)
+++ people/michael/experimental/patches/series	2010-01-13 19:59:20 UTC (rev 5696)
@@ -9,3 +9,4 @@
 setup-storage_lvm-preserve2
 bugfix-558139
 setup-storage_GIB-support
+setup-storage_reiserfs-fix

Added: people/michael/experimental/patches/setup-storage_reiserfs-fix
===================================================================
--- people/michael/experimental/patches/setup-storage_reiserfs-fix	                        (rev 0)
+++ people/michael/experimental/patches/setup-storage_reiserfs-fix	2010-01-13 19:59:20 UTC (rev 5696)
@@ -0,0 +1,16 @@
+2010-01-13  Michael Tautschnig  <mt at debian.org>
+
+	* setup-storage/Commands.pm: Add -q to createopts when making reiser file
+		systems (thanks Mathieu Alorent and Thomas Neumann).
+Index: trunk/lib/setup-storage/Commands.pm
+===================================================================
+--- trunk.orig/lib/setup-storage/Commands.pm
++++ trunk/lib/setup-storage/Commands.pm	
+@@ -70,6 +70,7 @@
+   my $create_tool = "mkfs.$fs";
+   ($fs eq "swap") and $create_tool = "mkswap";
+   ($fs eq "xfs") and $create_options = "$create_options -f" unless ($create_options =~ m/-f/);
++  ($fs eq "reiserfs") and $create_options = "$create_options -q" unless ($create_options =~ m/-(f|q|y)/);
+   &FAI::push_command( "$create_tool $create_options $device", "exist_$device",
+     "has_fs_$device" );
+ 




More information about the Fai-commit mailing list