summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-08-18fix typo in cdrom_id syslogKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2005-08-17cdrom_id: change err() to info() to help with debugging problemsGreg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17Always open the cdrom drive in non-blocking mode in cdrom_idGreg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17vol_id: fix sloppy error handlingKay Sievers
vol_id segfaults if read() fails on broken devices reporting the wrong size. Thanks to Erhard Schultchen for the debugging. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-16ENV{TEST}=="1" compares and ENV{TEST}="1" sets the environmentKay Sievers
This can be uses to export stuff to the event environment or to carry a state from one rule to another, like enabling/disabling later rules conditionally. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-15move udevmonitor to /usr/sbinKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-15cleanup some debug output and move to info level + unify select() loopsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13067 releaseGreg Kroah-Hartman
2005-08-13don't fail too bad, if /dev/null does not existKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13fix udevstart event ordering, we want /dev/null very earlyKay Sievers
2005-08-13Merge rsync://rsync.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2005-08-13fix more compiler warnings ...Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-12added the cdrom.h #defines directly into the cdrom_id.c fileGreg Kroah-Hartman
This solves the problem with building the file against old kernel header files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-12fix make install, as we don't provide a default rule set anymoreKay Sievers
Several people complained about the "default" rules and the "default" setup. Here we start to remove things where we can't hava a "default". The best examples for rules are in the distro folders, just pick the one that matches your needs and start from there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-12update SUSE rulesKay Sievers
don't use ID_TYPE, so cdroms will be in /dev/disk/ Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11066 releaseGreg KH
2005-08-11tweak the gentoo rules some more.Greg KH
- make the persistant rules smaller - add usbfs-like device node support Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11changed location of gentoo helper apps to be /sbin instead of in scripts dirGreg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11Change the gentoo rules to use cdrom_id instead of cdsymlink.shGreg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11fix klibc build issue in cdrom_id.cGreg KH
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11added cdrom_id to the build checkGreg KH
2005-08-11changed cdrom_id exports to be easier to understand and consistant with ↵Greg KH
other _id programs. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11Created cdrom_id program to make it easier to determine cdrom typesGreg KH
Based on the framework from ata_id by Kay. Now we can drop the cdsymlinks.sh and .c files Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11update gentoo rule file.Greg KH
This fixes the issue of cdroms not showing up in the proper group, and them showing up in /dev/cd/ for the persistant names. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11move some logging to the info levelKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11add Usage: to udevmonitor and udevcontrolKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11allow logging of all output from executed toolsKay Sievers
If USE_DEBUG=true and udev_log="debug", all output of the forked programs to stdout and stderr is send to syslog. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11update SUSE rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-10fix udevinfo outputThierry Vignaud
2005-08-10split udev_util in several filesKay Sievers
It too big for the small tools to link against for only the log function. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-10update SUSE rulesKay Sievers
Tape naming is harder than expected, go back to block devices only. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09trivial text cleanupsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09remove example rules and put the dev.d stuff into the run_directory folderKay Sievers
The distro rules are the best example you can get and the use of dev.d/ is no longer recommended. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09update READMEKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09more distro rules updatesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09add firmware_helper to load firmwareKay Sievers
From: Bill Nottingham <notting@redhat.com> Changed reading of firmware blob to mmap and let firmware_helper follow the setting of the log level with UDEV_LOG.
2005-08-09update SUSE rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09add SUSE rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-09update distro rules filesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-08add flag for reading of precompiled rulesKay Sievers
Rules can be precompiled and stored on disk for initramfs, to avoid parsing the rules with every event again and again. Also the OWNER and GROUP names are already resolved to numerical values in the compiled rules. This flag is used for the upcoming move of the rules parsing into udevd: If the real root is mounted udevd is started and parses the rules only once. The event processes will inherit the already parsed rules from the daemon, so we want to ignore any precompiled rules and use the real rules files and watch the filesystem for changes to reload the rules automatically. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-08allow clean shutdown of udevdKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-08switch some strlcpy's to memcpyKay Sievers
strlcpy counts the sourec string lengt and is therefore not suitable to copy a defined length of characters from one string to another. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-05read sysfs attribute also from parent class deviceKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-04updated gentoo rule file to handle removable ide devices.Greg KH
Thanks to Kay for the quick fix. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-04add NETLINK define for the lazy distrosKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-02065 releaseGreg Kroah-Hartman
2005-08-02Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kayGreg Kroah-Hartman
2005-08-02Added persistent name rules for block devices to gentoo rule file.Greg Kroah-Hartman
Copied from Kay's rules from the SuSE package. Let the fun begin... Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-02update release notes for next versionKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>