From fe0e92f4e338bd3ab690e409ff9ccde6cfe58780 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 24 Jan 2000 13:11:27 +0000 Subject: first sparc release of DrakX. --- perl-install/fsedit.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/fsedit.pm') 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($_) } @_; } -- cgit v1.2.1