From 29b91486ff7de14e6f4388ee03bf426a912f76d9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Aug 2007 14:34:16 +0000 Subject: drop supermount support (it has been dropped from our kernel) --- perl-install/standalone/drakupdate_fstab | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'perl-install/standalone/drakupdate_fstab') diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 4d48ef1f1..cbc182c5c 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -93,11 +93,10 @@ sub device_name_to_entry { } sub set_options { - my ($part, $useSupermount, $o_sync) = @_; + my ($part, $o_sync) = @_; $part->{is_removable} = 1; #- force removable flag fs::mount_options::set_default($part, - useSupermount => $useSupermount, security => security::level::get(), lang::fs_options(lang::read())); @@ -151,8 +150,7 @@ sub main { return; } my %dynamic = getVarsFromSh('/etc/sysconfig/dynamic'); - my $useSupermount = $dynamic{SUPERMOUNT} eq 'yes' ? 'magicdev' : ''; - set_options($part, $useSupermount, to_bool($dynamic{SYNC} ne 'no')); + set_options($part, to_bool($dynamic{SYNC} ne 'no')); set_mount_point($part, $fstab) or return; my ($line) = fs::prepare_write_fstab([$part]); @@ -162,7 +160,7 @@ sub main { } if ($::auto) { - print $part->{mntpoint}, " ", $useSupermount ? 'supermount' : 'user', "\n"; + print $part->{mntpoint}, " user\n"; } } else { if (!@$existing_fstab_entries) { -- cgit v1.2.1