chiark / gitweb /
cleanup old names before creating the new names
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 16 Jan 2009 20:15:53 +0000 (21:15 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 16 Jan 2009 20:15:53 +0000 (21:15 +0100)
commitfc7d16f993df6cef0e6038c63942d17994fde672
tree420c8bad4af37baeed06e9d704bdcdca08ffa1ca
parent8257730d392cf227fd3eba2915021aad6a2cc2e4
cleanup old names before creating the new names

Scott found that the node /dev/pktcdvd can not be replaced by
/dev/pktcdvd/control by changing the rules, and re-trigger the
event. We used to create the new names before we cleaned up the
old ones, which can not work if we need to create subdir with
the same name.
udev/udev-event.c