summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakupdate_fstab
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-13 04:58:48 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-13 04:58:48 +0000
commitf5d46f4cf39ffec28c9f626c6f4595bac78193a3 (patch)
tree870611933174c1ddb613e4ad51b9c6e4b1842345 /perl-install/standalone/drakupdate_fstab
parente533eebfb378378c86e1643d11c7794de867556a (diff)
downloaddrakx-backup-do-not-use-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar
drakx-backup-do-not-use-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.gz
drakx-backup-do-not-use-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.bz2
drakx-backup-do-not-use-f5d46f4cf39ffec28c9f626c6f4595bac78193a3.tar.xz
drakx-backup-do-not-use-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)
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab2
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) {