diff options
author | Francois Pons <fpons@mandriva.com> | 2000-01-24 13:11:27 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-01-24 13:11:27 +0000 |
commit | fe0e92f4e338bd3ab690e409ff9ccde6cfe58780 (patch) | |
tree | 90162d89089414633e30308971a9e715f1b1363c /perl-install/fsedit.pm | |
parent | 9e683c898b6592aaac1196f76dd9321c4426c912 (diff) | |
download | drakx-backup-do-not-use-fe0e92f4e338bd3ab690e409ff9ccde6cfe58780.tar drakx-backup-do-not-use-fe0e92f4e338bd3ab690e409ff9ccde6cfe58780.tar.gz drakx-backup-do-not-use-fe0e92f4e338bd3ab690e409ff9ccde6cfe58780.tar.bz2 drakx-backup-do-not-use-fe0e92f4e338bd3ab690e409ff9ccde6cfe58780.tar.xz drakx-backup-do-not-use-fe0e92f4e338bd3ab690e409ff9ccde6cfe58780.zip |
first sparc release of DrakX.
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 5bcabddeb..57f29e8cc 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -84,10 +84,16 @@ sub readProcPartitions { @parts; } +#- get all normal partition including special ones as found on sparc. sub get_fstab(@) { map { partition_table::get_normal_parts($_) } @_; } +#- get normal partition that should be visible for working on. +sub get_visible_fstab(@) { + grep { $_ && !partition_table::isWholedisk($_) } get_fstab(@_); +} + sub free_space(@) { sum map { $_->{size} } map { partition_table::get_holes($_) } @_; } |