diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:35:57 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-13 04:35:57 +0000 |
commit | 89490a2dad02316682b601af9425ad4d7805ba71 (patch) | |
tree | 4fd84cabb488a8401d638bb0e9f0b60fc43f1b7b /perl-install/standalone | |
parent | d32716bbf24abee33ddf3c13e4e39a3d0d695fc6 (diff) | |
download | drakx-89490a2dad02316682b601af9425ad4d7805ba71.tar drakx-89490a2dad02316682b601af9425ad4d7805ba71.tar.gz drakx-89490a2dad02316682b601af9425ad4d7805ba71.tar.bz2 drakx-89490a2dad02316682b601af9425ad4d7805ba71.tar.xz drakx-89490a2dad02316682b601af9425ad4d7805ba71.zip |
(device_name_to_entry) define $e->{devfs_prefix} if entry looks looks
like a devfs one but isn't found in device list (else our computed
$e->{devfs_device} will be crappy)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 46b05e9fc..9a34c317d 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -64,6 +64,7 @@ sub device_name_to_entry { my ($e, $nb); if ((my $devfs_prefix, $nb) = $name =~ m,(.*)/(?:cd|disc|part(\d+))$,) { $e = find { $_->{devfs_prefix} eq $devfs_prefix } @l; + $e->{devfs_prefix} ||= $devfs_prefix; } else { if ($e = find { $name eq $_->{device} } @l) { $nb = ''; |