summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm6
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($_) } @_;
}