diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-30 01:52:17 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-30 01:52:17 +0000 |
commit | 8fffb0869d3bc235f9c6da1f8664a806c055d110 (patch) | |
tree | 03fcf9041cda96cd5bbf04cb09930c1e91b36c08 /perl-install/standalone | |
parent | 2a75536a1c8cb0cd64ae6f0b8a756d70c1021b13 (diff) | |
download | drakx-8fffb0869d3bc235f9c6da1f8664a806c055d110.tar drakx-8fffb0869d3bc235f9c6da1f8664a806c055d110.tar.gz drakx-8fffb0869d3bc235f9c6da1f8664a806c055d110.tar.bz2 drakx-8fffb0869d3bc235f9c6da1f8664a806c055d110.tar.xz drakx-8fffb0869d3bc235f9c6da1f8664a806c055d110.zip |
do not mount and add/delete in fstab when many partitions (#11005)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 019d3cce7..d6fd1b22d 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -48,8 +48,8 @@ sub check_hard_drives { #- do not do anything if there are many partitions #- otherwise we may add main extended partitions - if ($name =~ s|/part\d+$||) { - my @parts = grep { /part/ } all($name); + if ($name =~ s!/(part|sd[:alpha:]?)\d+$!!) { + my @parts = grep { /^(part|sd[:alpha:]?)\d+$/ } all($name); @parts <= 1; } else { 1; |