From cf54c60c29c84c85e7245eb896feeedc14c8b3c6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 19:11:13 +0000 Subject: supermount is dead! --- urpm/removable.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urpm/removable.pm') diff --git a/urpm/removable.pm b/urpm/removable.pm index f215bf84..9857489d 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -26,7 +26,7 @@ sub try_mounting { ? ($dir = urpm::sys::trim_until_d($dir)) : urpm::sys::find_mntpoints($dir = reduce_pathname($dir), \%infos); foreach (grep { - ! $infos{$_}{mounted} && $infos{$_}{fs} ne 'supermount'; + ! $infos{$_}{mounted}; } @mntpoints) { $urpm->{log}(N("mounting %s", $_)); @@ -39,7 +39,7 @@ sub try_mounting { sys_log("mount $_"); system("mount '$_' 2>/dev/null"); } - $o_removable && $infos{$_}{fs} ne 'supermount' and $urpm->{removable_mounted}{$_} = undef; + $o_removable and $urpm->{removable_mounted}{$_} = undef; } -e $dir; } @@ -50,7 +50,7 @@ sub try_umounting { $dir = reduce_pathname($dir); foreach (reverse grep { - $infos{$_}{mounted} && $infos{$_}{fs} ne 'supermount'; + $infos{$_}{mounted}; } urpm::sys::find_mntpoints($dir, \%infos)) { $urpm->{log}(N("unmounting %s", $_)); -- cgit v1.2.1