From acaecef0c0cc287990ca400bd15bf38be4f35012 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 19:10:24 +0000 Subject: supermount is dead! --- urpm/sys.pm | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'urpm') diff --git a/urpm/sys.pm b/urpm/sys.pm index 91c38b06..a6c6bc91 100644 --- a/urpm/sys.pm +++ b/urpm/sys.pm @@ -39,16 +39,7 @@ sub find_mntpoints { $mntpoint =~ s,/+,/,g; $mntpoint =~ s,/$,,; $fstab{$mntpoint} = 0; if (ref($infos)) { - if ($fstype eq 'supermount') { - $options =~ /^(?:.*[\s,])?dev=([^\s,]+)/ and $infos->{$mntpoint} = { - mounted => 0, - device => $1, - fs => $fstype, - supermount => 1, - }; - } else { - $infos->{$mntpoint} = { mounted => 0, device => $device, fs => $fstype }; - } + $infos->{$mntpoint} = { mounted => 0, device => $device, fs => $fstype }; } } foreach (cat_("/etc/mtab")) { @@ -57,16 +48,7 @@ sub find_mntpoints { $mntpoint =~ s,/+,/,g; $mntpoint =~ s,/$,,; $fstab{$mntpoint} = 1; if (ref($infos)) { - if ($fstype eq 'supermount') { - $options =~ /^(?:.*[\s,])?dev=([^\s,]+)/ and $infos->{$mntpoint} = { - mounted => 1, - device => $1, - fs => $fstype, - supermount => 1, - }; - } else { - $infos->{$mntpoint} = { mounted => 1, device => $device, fs => $fstype }; - } + $infos->{$mntpoint} = { mounted => 1, device => $device, fs => $fstype }; } } -- cgit v1.2.1