From f5d46f4cf39ffec28c9f626c6f4595bac78193a3 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 13 Aug 2004 04:58:48 +0000 Subject: (device_name_to_entry) if device looks like a devfs device, set $e->{devfs_device} to $name even if the device wasn't found in devices list (it helps in case the device has been removed in del mode) --- perl-install/standalone/drakupdate_fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakupdate_fstab') diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 8fff14c67..4a355cc14 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -69,7 +69,7 @@ sub device_name_to_entry { if ($e->{devfs_device} eq $name) { $e->{prefer_devfs_name} = 1; } else { - $e->{device} = $name; + $e->{devfs_device} = $e->{device} = $name; } } else { unless ($e = find { $name eq $_->{device} } @l) { -- cgit v1.2.1