/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-4.18.0-part_size.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-4.18.0-part_size.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Nov 12 17:31:34 2007 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-4_18_0-83_el5_sme, e-smith-base-4_18_0-89_el5_sme, e-smith-base-4_18_0-90_el5_sme, e-smith-base-4_18_0-82_el5_sme, e-smith-base-4_18_0-100_el5_sme, e-smith-base-4_18_0-81_el5_sme, e-smith-base-4_18_0-77_el5_sme, e-smith-base-4_18_0-104_el5_sme, e-smith-base-4_18_0-87_el5_sme, e-smith-base-4_18_0-92_el5_sme, e-smith-base-4_18_0-103_el5_sme, e-smith-base-4_18_0-99_el5_sme, e-smith-base-4_18_0-78_el5_sme, e-smith-base-4_18_0-88_el5_sme, e-smith-base-4_18_0-79_el5_sme, e-smith-base-4_18_0-94_el5_sme, e-smith-base-4_18_0-101_el5_sme, e-smith-base-4_18_0-98_el5_sme, e-smith-base-4_18_0-102_el5_sme
Updates

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/sbin/e-smith/add_drive_to_raid mezzanine_patched_e-smith-base-4.18.0/root/sbin/e-smith/add_drive_to_raid
2     --- e-smith-base-4.18.0/root/sbin/e-smith/add_drive_to_raid 2007-11-12 10:26:22.000000000 -0700
3     +++ mezzanine_patched_e-smith-base-4.18.0/root/sbin/e-smith/add_drive_to_raid 2007-11-12 10:25:49.000000000 -0700
4     @@ -109,7 +109,8 @@
5     @partitions = sort grep m#^$newdev.+$#, keys %partitions;
6     if ( $#devices == $#partitions ) {
7     foreach my $part ( 0..($#devices-1) ) {
8     - $good &= $partitions{$partitions[$part]}{blocks} == $devices{$devices[$part]}{DeviceSize} + 64;
9     + $good &= $partitions{$partitions[$part]}{blocks} >= $devices{$devices[$part]}{DeviceSize} + 64;
10     + $good &= $partitions{$partitions[$part]}{blocks} <= $devices{$devices[$part]}{DeviceSize} + 68;
11     $good &= -b "/dev/$partitions[$part]" || 0;
12     }
13     $good &= $partitions{$partitions[$#devices]}{blocks} >= $devices{$devices[$#devices]}{DeviceSize} + 64;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed