Package: makedev
Version: 2.3.1-82

Hello,

since a while makedev checks for udev presence before it does anything.
Unfortunately it does also detect udev when there is surely no udev
currently present on the system:

[EMAIL PROTECTED]:~# uname -a
Linux darkside 2.4.27 #1 Thu Dec 22 21:52:46 CET 2005 i686 GNU/Linux
[EMAIL PROTECTED]:~# ps -ef | grep udev
root      9107  2584  0 21:21 tty1     00:00:00 grep udev
[EMAIL PROTECTED]:~# cd /dev && /sbin/MAKEDEV raw1394
.udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.

As you can see, I'm currently running a 2.4 kernel, which quite surely
has no udev running. This is also proven by the second command :)
Nowadays, makedev refuses to run because there exists a /dev/.udev
directory. However, this directory is created by the udev preinst script
and is thus always there on a Debian system with udev package installed.

Perhaps a better probe would be to check if /dev is mounted to a tmpfs or
something like that. Perhaps there is also some udev tool to check it's
presence, I don't know.
Btw: It's also not a good idea to rely on ps -ef | grep udev because
the udev package sometimes starts some udev daemon process on upgrades
(for whatever reason) even if the system is not udev-compliant at all.


regards
   Mario
-- 
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories instead of theories
to suit facts.                   -- Sherlock Holmes by Arthur Conan Doyle

Attachment: signature.asc
Description: Digital signature

Reply via email to