diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:58:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:58:48 +0000 |
commit | f5d46f4cf39ffec28c9f626c6f4595bac78193a3 (patch) | |
tree | 870611933174c1ddb613e4ad51b9c6e4b1842345 | |
parent | e533eebfb378378c86e1643d11c7794de867556a (diff) | |
download | drakx-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar drakx-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.gz drakx-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.bz2 drakx-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.xz drakx-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.zip |
(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)
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |