diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-03 09:25:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-03 09:25:59 +0000 |
commit | e9f498cb097dc5d70114ca03626e4bffc779bae5 (patch) | |
tree | 2a9590ad22633011e373d8df1ee1a5a70339d665 /perl-install/standalone/drakupdate_fstab | |
parent | 399a8871344fd36a19996bd1d52e5ce0e34ada8a (diff) | |
download | drakx-backup-do-not-use-e9f498cb097dc5d70114ca03626e4bffc779bae5.tar drakx-backup-do-not-use-e9f498cb097dc5d70114ca03626e4bffc779bae5.tar.gz drakx-backup-do-not-use-e9f498cb097dc5d70114ca03626e4bffc779bae5.tar.bz2 drakx-backup-do-not-use-e9f498cb097dc5d70114ca03626e4bffc779bae5.tar.xz drakx-backup-do-not-use-e9f498cb097dc5d70114ca03626e4bffc779bae5.zip |
move mount options related stuff from fs.pm to newly created fs/mount_options.pm
- fs::set_all_default_options() -> fs::mount_options::set_all_default()
- fs::mount_options_pack() -> fs::mount_options::pack()
- fs::mount_options_unpack() -> fs::mount_options::unpack()
- fs::rationalize_options() -> fs::mount_options::rationalize()
- fs::set_default_options() -> fs::mount_options::set_default()
- fs::mount_options() -> fs::mount_options::list()
- fs::mount_options_help() -> fs::mount_options::help()
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 711df4e45..46b05e9fc 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -91,14 +91,14 @@ sub set_options { my ($part, $useSupermount) = @_; $part->{is_removable} = 1; #- force removable flag - fs::set_default_options($part, + fs::mount_options::set_default($part, useSupermount => $useSupermount, security => security::level::get(), lang::fs_options(lang::read())); - my ($options, $unknown) = fs::mount_options_unpack($part); + my ($options, $unknown) = fs::mount_options::unpack($part); $options->{kudzu} = 1 if !$no_flag; - fs::mount_options_pack($part, $options, $unknown); + fs::mount_options::pack($part, $options, $unknown); } sub set_mount_point { |