diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-23 02:00:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-23 02:00:02 +0000 |
commit | 073e42bbfcd75d102a71e328f12b3ab3eeb7d047 (patch) | |
tree | 9d231c54862926160aa220972612c95920089709 /perl-install/diskdrake | |
parent | 7a399c64f3a1ea29198e94dec585271c20861a1b (diff) | |
download | drakx-backup-do-not-use-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar drakx-backup-do-not-use-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.gz drakx-backup-do-not-use-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.bz2 drakx-backup-do-not-use-073e42bbfcd75d102a71e328f12b3ab3eeb7d047.tar.xz drakx-backup-do-not-use-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.pm | 4 |
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); |