[Fai-commit] r4239 - trunk/bin
Thomas Lange
lange at alioth.debian.org
Wed Mar 7 14:29:12 CET 2007
Author: lange
Date: 2007-03-07 13:29:12 +0000 (Wed, 07 Mar 2007)
New Revision: 4239
Modified:
trunk/bin/setup_harddisks
Log:
force C locale when calling mkreiserfs (closes: 413504)
Modified: trunk/bin/setup_harddisks
===================================================================
--- trunk/bin/setup_harddisks 2007-03-07 13:21:55 UTC (rev 4238)
+++ trunk/bin/setup_harddisks 2007-03-07 13:29:12 UTC (rev 4239)
@@ -152,7 +152,7 @@
# Variables
#****************************************************
-my $Version = "version 0.41fai";
+my $Version = "version 0.42fai";
my $megabyte = 1024 * 1024; # guess
# $gigabyte = 1024 * $megabyte;
@@ -823,7 +823,7 @@
# Linux Reiser file system
if ($MPOptions{$mountpoint} =~ /\breiser\b/i) {
# print "Make Reiser Filesystem:\n";
- $command = "echo y | mkreiserfs $mkreiserfs_options";
+ $command = "echo y | LC_ALL=C mkreiserfs $mkreiserfs_options";
($MPOptions{$mountpoint} =~ /(\-h\s*\w+)\b/) && ($command .= " $1");
($MPOptions{$mountpoint} =~ /(\-v\s*\d+)\b/) && ($command .= " $1");
$command .= " /dev/$device";
More information about the Fai-commit
mailing list