diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-04-02 22:16:38 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:14 -0700 |
commit | 49747bdc374d6f98846e86d57016d8009aacb1cb (patch) | |
tree | 9581ea3277ba22fc5e7b54d6b8977a8ed91ed680 /dev_d.c | |
parent | b6bf0b123635cb0902a95d9d6d4584edef43ed19 (diff) |
[PATCH] tweak node unlink handling
Based on a patch from Olaf Hering we remove the node now only if the
requested dev_t is different from the already existing node, so any
run of udevstart should preserve the inode number of the node file.
syslog while the right node is already there:
creating device node '/udev/hda'
make_node: preserve file '/udev/hda', cause it has correct dev_t
make_node: chmod(/udev/hda, 060600)
syslog for wrong file already there:
creating device node '/udev/hda'
make_node: already present file '/udev/hda' unlinked
make_node: chmod(/udev/hda, 060600)
syslog for directory with same name already there:
creating device node '/udev/hda'
make_node: unlink(/udev/hda) failed with error '21'
Diffstat (limited to 'dev_d.c')
0 files changed, 0 insertions, 0 deletions