summaryrefslogtreecommitdiff
path: root/udev/test-udev.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-08-10 16:41:24 +0200
committerHarald Hoyer <harald@redhat.com>2010-08-10 16:46:48 +0200
commit09c03103028011935044bbade29a602925898f27 (patch)
tree0ca6abfe731ab2389fb6a5446aaf24342c09a976 /udev/test-udev.c
parentc11f89b61a7872f640a15292a21c43504ce664da (diff)
udev-event.c: rename interface to <src>-<dest>, if <dest> taken
e.g. if eth0 should be eth3 and eth3 is waiting to be renamed, eth0 was renamed to eth0_rename. The kernel would take eth0 as the name for a new interface and this new eth0 could also become eth0_rename, if the target name is also taken. To prevent this name clash, the interfaces are now renamed to <src>-<dest> and the rename is logged.
Diffstat (limited to 'udev/test-udev.c')
0 files changed, 0 insertions, 0 deletions