diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-02 21:45:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-02 21:45:04 +0000 |
commit | b707231329f40f0537da5a7a8a6033cf8bb8fbf5 (patch) | |
tree | 259609acdea36e2678111f5ecea195d202c58bdb /perl-install/fsedit.pm | |
parent | dba903b20c5e9d89e6dbda4e37d8c87f3b6a4562 (diff) | |
download | drakx-backup-do-not-use-b707231329f40f0537da5a7a8a6033cf8bb8fbf5.tar drakx-backup-do-not-use-b707231329f40f0537da5a7a8a6033cf8bb8fbf5.tar.gz drakx-backup-do-not-use-b707231329f40f0537da5a7a8a6033cf8bb8fbf5.tar.bz2 drakx-backup-do-not-use-b707231329f40f0537da5a7a8a6033cf8bb8fbf5.tar.xz drakx-backup-do-not-use-b707231329f40f0537da5a7a8a6033cf8bb8fbf5.zip |
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index eef623e9e..6060a1cc7 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -98,12 +98,13 @@ sub hasRAID { $b; } -sub get_root($) { - my ($fstab) = @_; +sub get_root($;$) { + my ($fstab, $boot) = @_; + if ($boot) { $_->{mntpoint} eq "/boot" and return $_ foreach @$fstab; } $_->{mntpoint} eq "/" and return $_ foreach @$fstab; undef; } -sub get_root_ { get_root([ get_fstab(@{$_[0]}) ]) } +sub get_root_ { get_root([ get_fstab(@{$_[0]}) ], $_[1]) } sub is_one_big_fat { my ($hds) = @_; |