[Fai-commit] r4208 - trunk/bin
Thomas Lange
lange at alioth.debian.org
Thu Jan 4 15:31:25 CET 2007
Author: lange
Date: 2007-01-04 15:31:25 +0100 (Thu, 04 Jan 2007)
New Revision: 4208
Modified:
trunk/bin/setup_harddisks
Log:
add support for mountig existing NTFS partitions (closes: #404187)
Modified: trunk/bin/setup_harddisks
===================================================================
--- trunk/bin/setup_harddisks 2007-01-03 17:22:36 UTC (rev 4207)
+++ trunk/bin/setup_harddisks 2007-01-04 14:31:25 UTC (rev 4208)
@@ -152,7 +152,7 @@
# Variables
#****************************************************
-my $Version = "version 0.40fai";
+my $Version = "version 0.41fai";
my $megabyte = 1024 * 1024; # guess
# $gigabyte = 1024 * $megabyte;
@@ -908,6 +908,7 @@
$device = $MountpointPart{$mountpoint};
$type = "ext2";
($MPOptions{$mountpoint} =~ /\b(dosfat16|winfat32)\b/i) && ($type = "vfat");
+ ($MPOptions{$mountpoint} =~ /\b(ntfs)\b/i) && ($type = "ntfs");
($MPOptions{$mountpoint} =~ /\b(reiser)\b/i) && ($type = "reiserfs");
($MPOptions{$mountpoint} =~ /\b(xfs)\b/i) && ($type = "xfs");
($MPOptions{$mountpoint} =~ /\b(ext3)\b/i) && ($type = "ext3");
More information about the Fai-commit
mailing list