diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 21:34:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 21:34:15 +0000 |
commit | 157a01642c2a988c3308d7d3dd0f8ba36a0cf641 (patch) | |
tree | 86a04e7237fba0f1486e92ee7ae89547b9482f64 /perl-install | |
parent | eccec293428b337a73029dce67da2371ff983bec (diff) | |
download | drakx-backup-do-not-use-157a01642c2a988c3308d7d3dd0f8ba36a0cf641.tar drakx-backup-do-not-use-157a01642c2a988c3308d7d3dd0f8ba36a0cf641.tar.gz drakx-backup-do-not-use-157a01642c2a988c3308d7d3dd0f8ba36a0cf641.tar.bz2 drakx-backup-do-not-use-157a01642c2a988c3308d7d3dd0f8ba36a0cf641.tar.xz drakx-backup-do-not-use-157a01642c2a988c3308d7d3dd0f8ba36a0cf641.zip |
(devfssymlinkf): when creating a symlink on the system, use devfs name if devfs is mounted
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 5500f9766..fbafd4da0 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -943,6 +943,9 @@ sub devfssymlinkf { $devfs_if ||= devices::to_devfs($o_if->{device}); $devfs_if ||= $o_if->{device}; + #- when creating a symlink on the system, use devfs name if devfs is mounted + $if = $devfs_if if !$prefix && detect_devices::dev_is_devfs(); + symlinkf($if, "$prefix/dev/$of"); output_p("$prefix/etc/devfs/conf.d/$of.conf", |