aboutsummaryrefslogtreecommitdiffstats
path: root/src/rename_device.c
Commit message (Collapse)AuthorAgeFilesLines
* rename_device: also support dracut-style kernel cmdline configurationLukas Nykryn2021-06-161-1/+43
| | | | | | | | There are 2 cases where this might be useful. * On machines with initrd build without dracut-network, you can now still use ifname option * On older kernels where double renaming was allowed, normal system replaced the name set by initrd.
* Revert "remove rename_device_lock when process does not exist"Jan Macku2021-01-211-13/+1
| | | This reverts commit dbff71b664c7536d09dc3172259d8984005b60fa.
* remove rename_device_lock when process does not existwangxp0062021-01-131-1/+13
| | | | if rename_device is killed during fopen period in take_lock ,LOCKFILE will not be remove in sighandler. Excute rename_device again, LOCKFILE is exist ,but the process with pid in LOCKFILE is not running, take_lock will never return.
* src/rename_device.c: GCC warnings about unused return value suppressedDavid Kaspar [Dee'Kej]2018-06-141-2/+3
|
* rename_device.c: rewrite of isCfg() functionDavid Kaspar [Dee'Kej]2017-05-251-12/+32
| | | | | * .orig & .old now recognized as config files * code cleanup
* rename_device: allow non-channel nics for s390x machinesLukas Nykryn2015-05-041-0/+9
|
* rename_devices: comments need to have a blank before themLukas Nykryn2014-09-161-6/+13
|
* rename_device: remove comments and trailing whitespacesLukas Nykryn2013-11-121-0/+8
|
* rename_device: don't wait for lock with lower permissionsLukas Nykryn2013-07-111-1/+3
| | | | | When running udevadm test as a normal user, rename_device hang for 20 seconds.
* Fix amazingly long-standing thinko in writing the pid file to the lock.Bill Nottingham2012-12-041-1/+4
|
* rename_device: skip VLAN=yes configuration filesHarald Hoyer2011-11-021-1/+6
|
* rename_device: dequote DEVICE="eth0"Harald Hoyer2010-07-261-1/+1
|
* rename_device: fix s390 subchannel readingHarald Hoyer2010-07-151-3/+4
|
* License cleanup.Bill Nottingham2010-01-051-1/+1
|
* Make rename_device much faster in the presence of many devices (#480687, ↵Bill Nottingham2009-01-191-73/+19
| | | | <danms@us.ibm.com>)
* add patch from rhel5 (#351291)Bill Nottingham2008-01-091-2/+15
|
* just suggest an interface name, don't do actual renamingBill Nottingham2007-10-051-86/+3
|
* fix open() callBill Nottingham2007-08-301-1/+1
|
* add a step to rename any temporarily renamed devices (#208740,Bill Nottingham2006-11-281-2/+29
| | | | #204803, #214817)
* I can't countBill Nottingham2006-11-011-1/+1
|
* more subchannels fixing (#204803)Bill Nottingham2006-10-301-13/+48
|
* use SUBCHANNELS as the primary key for s390 network devices (#204803)Bill Nottingham2006-10-261-0/+21
|
* reset DEVPATH when renaming (#206884, <phil@fifi.org>)Bill Nottingham2006-09-181-0/+1
|
* name it something more obvious as a temporary deviceBill Nottingham2006-09-151-1/+1
|
* don't loop if there are multiple devices with the same hwaddr (#199242, ↵Bill Nottingham2006-07-191-6/+13
| | | | <markmc@redhat.com>)
* ignore alias devices (#186355)Bill Nottingham2006-07-011-2/+9
| | | | | refresh the device name on collision, as it may have initialized since we initially scanned for devices
* addr8-32Bill Nottingham2006-04-101-0/+325