summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-14EXTRAS: cleanup and sync all MakefilesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14volume_id: fix error handling with failing read()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14fix a debug text typo in udev_rules.cOlivier Blin
2005-09-14udevd: fix udevd read() calls to leave room for null byteAmir Shalem
2005-09-14EXTRAS/Makefile: fix install targets to match main MakefileJürg Billeter
2005-09-13fix nbd error messages with a gentoo rule hackGreg KH
2005-09-13fix scsi_id rule in gentoo config fileGreg KH
2005-09-13069 releaseGreg KH
2005-09-12FAQ: update things that have changedKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12fic gcov use and move it into the MakefileKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12remove chassis_id programKay Sievers
Broken and unmaintained! Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12Makefile: cleanup install targetsKay Sievers
Split into individual target and never remove any config file. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-10Makefile: fix prerequisits for $(PROGRAMS)Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-09firmware_helper: fix write countDuncan Sands
2005-09-08update TODOKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08fix useless but funny name_cdrom.pl script to work againKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08update SUSE rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08add "totally outdated" header to docs/overview :)Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08delete old Fedora html pageKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08delete docs/persistent_naming - obsoleted by persistent disk namesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06klibc: update to version 1.1.1Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06move and update libsysfs.txtKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06add edd_id tool to match BIOS EDD disk informationKay Sievers
Thanks to: John Hull <John_Hull@Dell.com> Matt Domsch <Matt_Domsch@Dell.com> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31scsi_id: rename SYSFS to LIBSYSFSKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31udevinfo: restore -d optionKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31also forgot udevmonitor.8Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31add missing udevsend man pageKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30all man pages rewritten to use DocBook XMLKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30Makefile: remove all the duplicated rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30test the automatic man page rebuild and checkinKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30udevinfo: rename dump() to export()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30write man page masters in DocBook XMLKay Sievers
The troff man pages will still be checked into the tree but the source is DocBook XML format living in the docs/ directory now. Start with the easy ones, the main udev page is still left to rewrite. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29udevinfo: add database exportKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29update RELEASE-NOTESKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29check the udevdb before assigning a new %eKay Sievers
A second "add" event created a new enumeration with %e. Check the udevdb first and if a matching name is already used. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29udev_test.pl: we replace untrusted chars with '_'Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29remove special TIMEOUT handling from incoming queueKay Sievers
Moving events directly to the exec queue instead of the reordering incoming queue, leaves holes in the sequence, that lead to timeouts for all other events. Remove that part of the special handling. (With netlink, events can't get out-of-order and the maximum timeout is 5 seconds and should not cause any trouble with the 10 sec timout for the firmware class anyway. Events with timeouts are still prioritized for execution, but don't bypass the incoming queue anymore.) Many thanks to: Uberto Barbini <uberto@ubiland.net> for his endless debugging and sending all the traces, that showed this failure with his DVB device: UEVENT[1124474094] add@/module/stv0299 UEVENT[1124474094] add@/module/ves1x93 UEVENT[1124474094] add@/module/ttpci_eeprom UEVENT[1124474094] add@/module/saa7146 UEVENT[1124474094] add@/module/video_buf UEVENT[1124474094] add@/module/saa7146_vv UEVENT[1124474094] add@/module/dvb_core UEVENT[1124474094] add@/module/dvb_ttpci UEVENT[1124474094] add@/bus/pci/drivers/dvb UEVENT[1124474094] add@/class/firmware/0000:00:14.0 UDEV [1124474094] add@/module/dvb_core UDEV [1124474094] add@/module/saa7146_vv UDEV [1124474094] add@/module/dvb_ttpci UDEV [1124474094] add@/module/ves1x93 UDEV [1124474094] add@/module/ttpci_eeprom UDEV [1124474094] add@/module/saa7146 UDEV [1124474094] add@/module/stv0299 UDEV [1124474094] add@/module/video_buf UDEV [1124474094] add@/bus/pci/drivers/dvb UEVENT[1124474094] remove@/class/firmware/0000:00:14.0 <- event with TIMEOUT will leave a hole in the incoming UDEV [1124474094] add@/class/firmware/0000:00:14.0 sequence, which will cause a wait for the alarm() UEVENT[1124474094] add@/class/i2c-adapter/i2c-1 that flushes the queue UEVENT[1124474094] add@/class/i2c-dev/i2c-1 UDEV [1124474094] remove@/class/firmware/0000:00:14.0 <- event also has TIMEOUT and is executed immediately UEVENT[1124474095] add@/class/dvb/dvb0.demux0 UEVENT[1124474095] add@/class/dvb/dvb0.dvr0 UEVENT[1124474095] add@/class/dvb/dvb0.video0 UEVENT[1124474095] add@/class/dvb/dvb0.audio0 UEVENT[1124474095] add@/class/dvb/dvb0.ca0 UEVENT[1124474095] add@/class/dvb/dvb0.osd0 UEVENT[1124474095] add@/class/dvb/dvb0.net0 UEVENT[1124474095] add@/class/video4linux/video1 UEVENT[1124474095] add@/class/dvb/dvb0.frontend0 UDEV [1124474099] add@/class/i2c-adapter/i2c-1 <- all others have 5 seconds delay cause of the missing event UDEV [1124474099] add@/class/dvb/dvb0.ca0 missing events UDEV [1124474099] add@/class/dvb/dvb0.osd0 UDEV [1124474099] add@/class/video4linux/video1 UDEV [1124474099] add@/class/dvb/dvb0.frontend0 UDEV [1124474099] add@/class/dvb/dvb0.video0 UDEV [1124474099] add@/class/dvb/dvb0.audio0 UDEV [1124474099] add@/class/i2c-dev/i2c-1 UDEV [1124474099] add@/class/dvb/dv My test program that simulates a similar sequence, runs without any delay now. (With one of the next versions we will make netlink mandatory, then we can remove the whole input queue crap with the reordering anyway.) Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28udevd: move some logging to "info" and "err"Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28vol_id: ID_LABEL_SAFE will no longer contain fancy charactersKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28rename ...trailing_char() to ...trailing_chars()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28don't reenter get_udevd_msg() if message is ignoredKay Sievers
Check all event sources with every iteration. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28remove not needed sig_flag for state of signal_pipeKay Sievers
Less internal state is better. And, we don't need to call read() twice with every signal handling. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28use WRITE_END/READ_END for the pipe indexKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28start to enforce plain ascii or valid utf8Kay Sievers
No device node or symlink can have other characters as plain readable ascii or valid utf8. The /dev/disk/by-label/* symlinks can no longer contain weird stuff read from untrusted sources. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28add uft8 validation for safe volume label exportingKay Sievers
We will not support any other character encoding than plain ascii or utf8 for volume labels. All invalid utf8 and non-ascii characters are substituted for security reasons. No options, no fancy heuristics. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27don't store devpath in udevdb, we don't need itKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27add and use name_list_cleanup() for cleaning up the string listsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27change parameter order of udev_db_search_name()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27print persistent data with "udevinfo -q all"Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>