summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/get.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-08 07:10:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-08 07:10:15 +0000
commit3c6fbfb082361277877a5dd82f7014eff0afaa92 (patch)
tree08abbcab50b6eecbf5f1f4821ccbbf5865f041df /perl-install/fs/get.pm
parent98a4be8ec81d7865a4655fc322b52e866e1c64a2 (diff)
downloaddrakx-backup-do-not-use-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar
drakx-backup-do-not-use-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.gz
drakx-backup-do-not-use-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.bz2
drakx-backup-do-not-use-3c6fbfb082361277877a5dd82f7014eff0afaa92.tar.xz
drakx-backup-do-not-use-3c6fbfb082361277877a5dd82f7014eff0afaa92.zip
- switch to mdadm (instead of raidtools)
- create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection
Diffstat (limited to 'perl-install/fs/get.pm')
-rw-r--r--perl-install/fs/get.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/fs/get.pm b/perl-install/fs/get.pm
index 3ac3ba0b4..cce7b61ec 100644
--- a/perl-install/fs/get.pm
+++ b/perl-install/fs/get.pm
@@ -15,8 +15,7 @@ sub empty_all_hds() {
sub fstab {
my ($all_hds) = @_;
my @parts = map { partition_table::get_normal_parts($_) } hds($all_hds);
- my @raids = grep { $_ } @{$all_hds->{raids}};
- @parts, @raids, @{$all_hds->{loopbacks}};
+ @parts, @{$all_hds->{raids}}, @{$all_hds->{loopbacks}};
}
sub really_all_fstab {
my ($all_hds) = @_;
@@ -26,8 +25,7 @@ sub really_all_fstab {
sub fstab_and_holes {
my ($all_hds) = @_;
- my @raids = grep { $_ } @{$all_hds->{raids}};
- hds_fstab_and_holes(hds($all_hds)), @raids, @{$all_hds->{loopbacks}};
+ hds_fstab_and_holes(hds($all_hds)), @{$all_hds->{raids}}, @{$all_hds->{loopbacks}};
}
sub holes {