swap fsck bug
Waldemar Brodkorb
fai at waldemar-brodkorb.de
Thu Mar 11 22:03:35 CET 2010
Hi FAI developers,
it seems that fstab generation still contains the bug, that
swap will be checked. Attached patch fixes it for me.
best regards,
Waldemar
-------------- next part --------------
Index: lib/setup-storage/Fstab.pm
===================================================================
--- lib/setup-storage/Fstab.pm (revision 5729)
+++ lib/setup-storage/Fstab.pm (working copy)
@@ -60,7 +60,7 @@
# order of filesystem checks: the root filesystem gets a 1, the others
# get 2, swap gets 0
$fstab_line[-1] = 1 if ($d_ref->{mountpoint} eq "/");
- $fstab_line[-1] = 0 if ($d_ref->{mountpoint} eq "swap");
+ $fstab_line[-1] = 0 if ($d_ref->{mountpoint} eq "none");
# set the ROOT_PARTITION variable, if this is the mountpoint for /
$FAI::disk_var{ROOT_PARTITION} = $name
More information about the linux-fai-devel
mailing list