Subject: | resending the correct patch for bug #11684 |
now i did 'diff -u Linux.pm.orig Linux.pm.patched > Linux.pm.diff'
--- Linux.pm.orig 2005-02-28 20:31:17.000000000 +0200
+++ Linux.pm.patched 2005-02-28 20:31:52.000000000 +0200
@@ -40,9 +40,15 @@
if ($fstab->open($args{fstab})) {
while (<$fstab>) {
next if /^\s*#/;
+ next if /^\s*$/;
my @vals = split(/\s+/, $_);
$self->{$vals[1]}->{mount_point} = $vals[1];
$self->{$vals[1]}->{device} = $vals[0];
+ if( $vals[0] =~ /LABEL=/ )
+ {
+ ($self->{$vals[1]}->{label})
+ = $vals[0] =~ /LABEL=(.*)/;
+ }
$self->{$vals[1]}->{unmounted} = 1;
$self->{$vals[1]}->{special} = 1 if grep(/^$vals[2]$/,qw(swap proc devpts tmpfs));
for (my $i = 0; $i < @keys; $i++) {