summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-18priority based symlink handlingKay Sievers
Symlinks can have priorities now, the priority is assigned to the device and specified with OPTIONS="link_priority=100". Devices with higher priorities overwrite the symlinks of devices with lower priorities. If the device, that currently owns the link goes away, the symlink will be removed, and recreated, pointing to the next device with the highest actual priority. This should solve the issue, that inserting an USB-stick may overwrite the /dev/disk/by-id/-link of another disk, and removes the entire link after the USB-stick is disconnected. If no priorities are specified, the new link will overwrite the current one, and if the device goes away, it will restore the old link. It should be possible to assign lower priorities to removable devices, if needed. In multipath setups, we see several devices, which all connect to the same volume, and therefore all try to create the same metadata-links. The different path-devices are combined into one device-mapper device, which also contains the same metadata. It should be possible, to assign multipath-table device-mapper devices a higher priority, so path-devices that appear and disappear, will not overwrite or delete the device-mapper device links.
2007-03-17read list of devices from index, make index private to databaseKay Sievers
2007-03-16remove old error messageKay Sievers
2007-03-16selinux: move selinux_exit() to the main programsKay Sievers
2007-03-16cleanup already existing db-entries and db-index on device updateKay Sievers
2007-03-16pick actual valid device in udev_db_lookup_nameKay Sievers
2007-03-16add link_priority to rule options, and store it in databaseKay Sievers
2007-03-16store devpath with the usual leading slashKay Sievers
2007-03-16udevtest: export UDEV_LOG if we changed itJean Tourrilhes
2007-03-15udevmonitor: fix swapped event switch descriptionsMatthias Schwarzott
2007-03-15restore overwritten symlinks when the device goes awayKay Sievers
2007-03-15maintain index over device-names to devpath relationKay Sievers
2007-03-15increase /proc/stat bufferKay Sievers
2007-03-15update internal variables if we see $DEVPATH during IMPORTKay Sievers
2007-03-14encode db-file names, instead of just replacing '/'Kay Sievers
2007-03-13udevd: cleanup std{in,our,err} on startupMatthias Schwarzott
It occurs, when root-partition has no /dev/console, meaning that kernel could not open it, and such udevd is started without open filedescriptors 0 1 2. In that case udevd openes its sockets (netlink and control). They get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets and replaces them with /dev/null. The error condition can also be reproduced by starting udevd with this command-line: udevd --daemon <&- >&- 2>&-
2007-03-13update Gentoo rulesKay Sievers
2007-03-12delete dasd_id, it moved to s390-toolsKay Sievers
These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4. New tools: * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices. * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream. * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs. * dasdinfo: Display unique DASD ID, either uid or volser. * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/. http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html
2007-03-12update Fedora rulesKay Sievers
2007-03-11default rules: wait for 0:0:0:0 scsi devices onlyKay Sievers
2007-03-10udevmonitor: add switch for kernel and udev eventsKay Sievers
2007-03-08man: spelling fixesKay Sievers
Thanks to Robert P. J. Day.
2007-03-08create_floppy_devices: apply specified mode without umaskKay Sievers
2007-03-07man: fix typoKay Sievers
2007-03-07man: add missing options to various man pagesKay Sievers
2007-03-03release 106Kay Sievers
2007-02-28remove dead rule in persistent tape rulesKay Sievers
Thanks to Matthias Schwarzott for spotting this.
2007-02-27persistent device naming: tape devices and medium changersJamie Wellnitz
This adds persistent symlinks for nst tape devices to the example rules. The symlinks live under /dev/tape/by-id/. Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
2007-02-26rule_generator: fix for creating rules on read-only filesystemMatthias Schwarzott
2007-02-25scsi_id: accept tabs in /etc/scsi_id.confKay Sievers
2007-02-25man: add note about parent matching behaviorKay Sievers
2007-02-25add test for an attribute which contains an operator charKay Sievers
2007-02-25fix udev attribute names with a colonTheodoros V. Kalamatianos
2007-02-24remove --version from the udevinfo man pageKay Sievers
We have: udevd --version now, which is always available, unlike udevinfo which is installed in /usr.
2007-02-24add option --version to udevdMatthias Schwarzott
2007-02-24update DRIVER== changesKay Sievers
2007-02-16add (subsystem) to udevmonitor outputKay Sievers
2007-02-16apply format chars to ATTR before writing to sysfsKay Sievers
2007-02-14update example rulesKay Sievers
2007-02-14create_floppy_devices: add option for owner/groupKay Sievers
2007-02-05path_id: append LUN to iSCSI pathKay Sievers
2007-02-05man: correct udevinfo --export-dbKay Sievers
Thanks to: Matthias Schwarzott <zzam@gentoo.org>
2007-02-03release 105Kay Sievers
2007-02-03volume_id: really fix endianess bug in linux_raid detectionKay Sievers
Seems we find the md signature in cpu-order on the disk. Let's look for both endian encodings ... Thanks to Michael Prokop for his help finding the bug.
2007-02-01exclude parent devices from DRIVER== matchKay Sievers
We have DRIVERS= for this.
2007-02-01fix %c $string substitutionSergey Vlasov
Fix udev_rules_apply_format() to give error messages for unknown format elements and pass such elements to the output string unmodified. When truncating the substitution string to the length specified in the format string, head[len] = '\0' could write outside the buffer if that length was too large.
2007-01-28man: fix typos in scsi_id and udevdA. Costa
2007-01-23fix retry-loop in netif-rename codeMatthias Schwarzott
2007-01-23unlink old database file before creating a new oneSergey Vlasov
udev_db_add_device() can be called when the corressponding database entry already exists - it should overwrite the old entry in this case. However, if the old entry was a symlink, fopen(filename, "w") will not overwrite it properly - it will keep the symlink and create a file named after the symlink target. Calling unlink(filename) before trying to create the database file fixes the problem. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
2007-01-22vol_id: document -LAndrey Borzenkov