From e9f498cb097dc5d70114ca03626e4bffc779bae5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 3 Aug 2004 09:25:59 +0000 Subject: 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() --- perl-install/standalone/diskdrake | 2 +- perl-install/standalone/drakupdate_fstab | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake index 870d115b0..74787fc21 100755 --- a/perl-install/standalone/diskdrake +++ b/perl-install/standalone/diskdrake @@ -106,7 +106,7 @@ if ($type eq 'list-hd') { my $useSupermount = 'magicdev'; require security::level; require lang; - fs::set_default_options($raw_hd, + fs::mount_options::set_default($raw_hd, useSupermount => $useSupermount, security => security::level::get(), lang::fs_options(lang::read())); 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 { -- cgit v1.2.1