summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-23 02:00:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-23 02:00:02 +0000
commit073e42bbfcd75d102a71e328f12b3ab3eeb7d047 (patch)
tree9d231c54862926160aa220972612c95920089709 /perl-install/diskdrake
parent7a399c64f3a1ea29198e94dec585271c20861a1b (diff)
downloaddrakx-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar
drakx-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.gz
drakx-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.bz2
drakx-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.xz
drakx-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.zip
- move format related functions out of fs.pm to new module fs/format.pm
- remove swap.pm, moving its few functions to fs/format.pm or fs.pm
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index b1457060c..fb2676114 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -582,7 +582,7 @@ sub Type {
$part->{isFormatted} = 1; #- assume that if tune2fs works, partition is formatted
#- disable the fsck (don't do it together with -j in case -j fails?)
- fs::disable_forced_fsck($part->{device});
+ fs::format::disable_forced_fsck($part->{device});
return;
}
}
@@ -1083,7 +1083,7 @@ sub format_ {
ask_alldatawillbelost($in, $part, N_("After formatting partition %s, all data on this partition will be lost")) or return;
$part->{isFormatted} = 0; #- force format;
my $w;
- fs::format_part($all_hds->{raids}, $part, $::prefix, sub {
+ fs::format::part($all_hds->{raids}, $part, $::prefix, sub {
my ($msg) = @_;
$w ||= $in->wait_message('', $msg);
$w->set($msg);