Package: fai
Version: 2.10.5
Severity: normal
Tag: patch
setup_harddisks does not preserve partitions with no mount point.
From: "Alexius Ludeman" <[EMAIL PROTECTED]>
when the partition config read:
primary - 9000- preserve4 ; preserve
mke2fs would still execute. This patch should solve this.
*** setup_harddisks 2006-07-25 11:43:41.000000000 -0700
--- /usr/sbin/setup_harddisks 2006-07-25 11:10:27.000000000 -0700
***************
*** 784,790 ****
$mountpointname = $mountpoint;
}
# preserved partition
! if ( ($mountpoint =~ /^no/) || ($MPPreserve{$mountpoint} eq
"yes") && ($MPOptions{$mountpoint} !~ /\bformat\b/i)){
print "Preserve partition $device";
if ($mountpoint =~ /^no$1/){
print " with no mountpoint\n";
--- 784,790 ----
$mountpointname = $mountpoint;
}
# preserved partition
! if ( ($MPPreserve{$mountpoint} eq "yes") &&
($MPOptions{$mountpoint} !~ /\bformat\b/i)){
print "Preserve partition $device";
if ($mountpoint =~ /^no$1/){
print " with no mountpoint\n";
--
regards Thomas
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]