diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-23 11:38:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-23 11:38:49 +0000 |
commit | 3034cf642a22b57c653f936ad3868c3da65fea2f (patch) | |
tree | cebe5a49bd6bbb9b7cee90b3b7b6766e6eedd2d7 /perl-install/devices.pm | |
parent | a10767a3517dcba47a63f15c762852291fecbc6e (diff) | |
download | drakx-3034cf642a22b57c653f936ad3868c3da65fea2f.tar drakx-3034cf642a22b57c653f936ad3868c3da65fea2f.tar.gz drakx-3034cf642a22b57c653f936ad3868c3da65fea2f.tar.bz2 drakx-3034cf642a22b57c653f936ad3868c3da65fea2f.tar.xz drakx-3034cf642a22b57c653f936ad3868c3da65fea2f.zip |
devices::make doesn't mknod with devfs
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index d8b561310..0423e5813 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -168,6 +168,11 @@ sub make($) { my ($type, $major, $minor) = eval { entry($_) }; $@ and die "unknown device $_ (caller is " . join(":", caller()) . ")"; + if ($file =~ m|/dev/| && -e '/dev/.devfsd') { + #- argh, creating devices is no good with devfs... + die "devices are handled by devfsd, and $file doesn't exist"; + } + #- make a directory for this inode if needed. mkdir dirname($file), 0755; |