On Aug 31, Petter Reinholdtsen <p...@hungry.com> wrote: > What is the working directory of the udev process? I hope it is > /dev/, to avoid issues with / if something need to be done to the root > file system. It is /, but what can be done to the root file system with /dev mounted on it?
> Is there a pid file around, to make sure the correct process and not > just any process named udev is available? Could you create one? Why No (udevd is started well before there is a writeable file system, and there are also the child processes). If somebody has other processes named udevd around he deserves any trouble he gets. > did you propose to use pgrep instead of pidof, btw? 'pidof > /sbin/udevd' sime like a safer alternative, as it check the process > inode info to make sure the correct process is found. No real reason. > BTW, if udevd should survive runlevel 1 (which is not the same as > single user), there need to be start symlink in rc1.d/. Why if it is not going to be killed? -- ciao, Marco
signature.asc
Description: Digital signature