summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] ide-devfs.sh updatekay.sievers@vrfy.org
Attached is a patch for ide-devfs.sh, The script is merged with the one from Martin Schlemmer, and cleaned up by him, to create both types of symlinks with one single rule: CALLOUT, BUS="ide", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", ID="hd*", NAME="%1c", SYMLINK="%2c %3c" /udev/ |-- cdroms | `-- cdrom0 -> ../hdc |-- discs | |-- disc0 | | |-- disc -> ../../hda | | |-- part1 -> ../../hda1 | | |-- part2 -> ../../hda2 | | `-- part4 -> ../../hda4 | |-- disc1 | | |-- disc -> ../../hdb | | `-- part1 -> ../../hdb1 | `-- disc2 | |-- disc -> ../../hde | `-- part1 -> ../../hde1 |-- hda |-- hda1 |-- hda2 |-- hda4 |-- hdb |-- hdb1 |-- hdc |-- hde |-- hde1 `-- ide |-- host0 | |-- bus0 | | |-- target0 | | | `-- lun0 | | | |-- disc -> ../../../../../hda | | | |-- part1 -> ../../../../../hda1 | | | |-- part2 -> ../../../../../hda2 | | | `-- part4 -> ../../../../../hda4 | | `-- target1 | | `-- lun0 | | |-- disc -> ../../../../../hdb | | `-- part1 -> ../../../../../hdb1 | `-- bus1 | `-- target0 | `-- lun0 | `-- cd -> ../../../../../hdc `-- host2 `-- bus0 `-- target0 `-- lun0 |-- disc -> ../../../../../hde `-- part1 -> ../../../../../hde1
2005-04-26[PATCH] fix for apply_format()kay.sievers@vrfy.org
fix possible NULL pointer in '%c' callout substitution and cleanup '%D' debug text
2005-04-26[PATCH] check for empty symlink stringkay.sievers@vrfy.org
Attached is a patch for udev-add.c to ignore empty symlink string parts. Issue was brought up by ide-devfs.sh with only one symlink returned, while two are expected.
2005-04-26[PATCH] 'ide' missing in bus_files[]kay.sievers@vrfy.org
my syslog want's to contact you :) Dec 25 20:37:48 pim udev[2274]: wait_for_device_to_initialize: Did not find bus type 'ide' on list of bus_id_files, contact greg@kroah.com We need to put 'ide' to the bus_files array, don't know which file to use...
2005-04-26[PATCH] udev.permissions.debian - forgot the dm nodes.greg@kroah.com
2005-04-26[PATCH] update the udev.permissions.debian file with new entries.greg@kroah.com
Thanks to Mathieu Segaud <matt@minas-morgul.org> for the information
2005-04-26[PATCH] added udev.init script for the Linux From Scratch project.greg@kroah.com
Thanks to Michael Buesch <mbuesch@freenet.de> for providing it.
2005-04-26[PATCH] small trivial cleanup of latest changeskay.sievers@vrfy.org
here is a patch for a typo in the man page, a whitespace cleanup and a replace for the magic hex ASCII in char operations.
2005-04-26[PATCH] 011_bk taggreg@kroah.com
2005-04-26[PATCH] v011 releaseudev/v011greg@kroah.com
2005-04-26[PATCH] add documentation about the BUS key being optional for the LABEL rule.greg@kroah.com
2005-04-26[PATCH] add tests for LABEL rule with a device that has no bus.greg@kroah.com
2005-04-26[PATCH] Don't require the BUS value for the LABEL rule.greg@kroah.com
2005-04-26[PATCH] If a LABEL rule has a BUS id, then we must check to see if the ↵greg@kroah.com
device is on a bus.
2005-04-26[PATCH] add documentation about the BUS key being optional for the CALLOUT rule.greg@kroah.com
2005-04-26[PATCH] If a CALLOUT rule has a BUS id, then we must check to see if the ↵greg@kroah.com
device is on a bus. Thanks to Martin Schlemmer <azarah@nosferatu.za.org> for pointing this out.
2005-04-26[PATCH] Don't require the BUS value for the CALLOUT rule.greg@kroah.com
2005-04-26[PATCH] add test for callout rule with a device that has no bus.greg@kroah.com
2005-04-26[PATCH] 010_bk stampgreg@kroah.com
2005-04-26[PATCH] added different build options to the rpm udev.spec file.greg@kroah.com
2005-04-26[PATCH] fix udev sed Makefile usagesvetljo@gmx.de
2005-04-26[PATCH] proper cleanup on udevdb_init() failurembuesch@freenet.de
Seems like we need the following patch to do proper sysbus cleanup, if udevdb_init() fails.
2005-04-26[PATCH] patch udev 009-010 rpm spec filemh@nadir.org
the following problem was introduced with udev 009: [root@claw packages]# rpm -Uvh ~mh/rpm/RPMS/ppc/udev-010-1.ppc.rpm Preparing...########################################### [100%] 1:udev ########################################### [100%] error: unpacking of archive failed on file /usr/share/doc/udev-010/COPYING;3fe8a8e3: cpio: open failed - Permission denied it's because the mode of the directory /usr/share/doc/udev-010/ is 0644. This is with yellodog-3.0. the following patch fixes it:
2005-04-26[PATCH] add pci to the bus_files list.greg@kroah.com
2005-04-26[PATCH] check for empty line a bit better in the parser.greg@kroah.com
Thanks to Mitch <mitch@0bits.com> for pointing this out.
2005-04-26[PATCH] more init script cleanups, the stop target now calls udev to cleanup ↵greg@kroah.com
instead of just removing the whole /udev directory.
2005-04-26[PATCH] make udev init script run udev in the background to let startup go ↵greg@kroah.com
much faster
2005-04-26[PATCH] fix long delay for all devices in namedevgreg@kroah.com
Now we only sleep if we can't find the device file, and we have a hack to sleep for 1 second if we are on a partition. This will be removed when the libsysfs change gets made...
2005-04-26[PATCH] v010 releaseudev/v010greg@kroah.com
2005-04-26[PATCH] fix udev-test.plkay.sievers@vrfy.org
Here is a small fix for udev-test.pl, to print the METHOD also for the "whitespace config" tests. TEST: Handle comment lines in config file (and replace kernel name) method '' for 'class/tty/ttyUSB0' expecting node 'visor' add: ok remove: ok
2005-04-26[PATCH] small cleanup udev-remove.ckay.sievers@vrfy.org
Here is a small cleanup. It replaces the malloc in udev-remove.c with a struct, like we do in udev-add.c
2005-04-26[PATCH] fix complier warning in namedev.cgreg@kroah.com
2005-04-26[PATCH] add documentation for the new '%k' modifier (kernel name replacement)greg@kroah.com
2005-04-26[PATCH] add documentation about the multiple sysfs values that are now ↵greg@kroah.com
allowed for the LABEL rule.
2005-04-26[PATCH] add tests for multi-file LABEL rules.greg@kroah.com
2005-04-26[PATCH] add ability to have up to 5 SYSFS_ file/value pairs for the LABEL rule.greg@kroah.com
2005-04-26[PATCH] change pgsizeananth@in.ibm.com
In udev-009 and previous releases, for klibc compatibility, the pgsize var in sysfs_read_attribute() (file sysfs_dir.c under libsysfs) is handcoded to 0x4000. Should it not be 4096 bytes (0x1000 in hex) instead of 0x4000 (16k bytes)?
2005-04-26[PATCH] extras multipath updatechristophe.varoqui@free.fr
incremental to 20031222-2, 2003-12-22 multipath-010 * tweak the install target in Makefile * stop passing fds as argument : this change enable a strict segregation of ugly 2.4 code * sysfs version of get_lun_strings() * be careful about the return of get_unique_id() since errors formerly caught up by if(open()) in the caller fn are now returned by get_unique_id() * send get_serial() in unused.c
2005-04-26[PATCH] extras multipath updatechristophe.varoqui@free.fr
incremental to 20031222, 2003-12-22 multipath-010 * introduce dm-simplecmd for RESUME & SUSPEND requests * split add_map() in setup_map() & dm-addmap() * setup_map() correctly submits "SUSPEND-RELOAD-RESUME or CREATE" sequences instead of the bogus "RELOAD or CREATE"
2005-04-26[PATCH] extras multipath updatechristophe.varoqui@free.fr
incremental to 20031220, 2003-12-22 multipath-010 * don't print .sg_dev if equal to .dev (2.6) in print_path() * since the kernel code handles defective paths, remove all code to cope with them : * move do_tur() to unused.c * remove .state from path struct * remove .state settings & conditionals * add a cmdline switch to force maps to failover mode, ie 1 path per priority group * add default policies to the whitelist array (spread io == MULTIBUS / io forced to 1 path == FAILOVER) * move get_disk_size() call out of add_map() to coalesce() * comment tricky coalesce() fn * bogus unsused.c file renamed to unused.c
2005-04-26[PATCH] extras multipath updatechristophe.varoqui@free.fr
An important one, against stock udev-009 : 2003-12-20 multipath-010 * big ChangeLog update * start to give a little control over target params : introduce cmdline arg -i to control polling interval * cope with hotplug-style calling convention : ie "multipath scsi $DEVPATH" ... to avoid messing with online maps not concerned by an event * example hotplug agent to drop in /etc/hotplug.d/scsi * revert the run & resched patch : unless someone proves me wrong, this was overdesigned * move commented out functions in unused.c * update multipath target params to "udm[23] style" * mp target now supports nr_path == 1, so do we * add gratuitous free() * push version forward
2005-04-26[PATCH] experimental CALLOUT script for devfs ide node creation with cd, ↵kay.sievers@vrfy.org
disc, part Here is a experimental CALLOUT script for udev to create devfs nodes for IDE-devices. Not that I need these, I just wanted to see if it works :) The script is really stupid, no error handling, nothing more than absolutely needed. The rule uses the 'k' format char of the previous patch. The %D is not used, so the user can have disc or disk :) this single line: CALLOUT, BUS="ide", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", ID="hd*", NAME="%1c", SYMLINK="%2c" creates the following on my machine with two hard disks, one DVD and a PCMCIA-compact-flash inserted: /udev |-- hda |-- hda1 |-- hda2 |-- hda4 |-- hdb |-- hdb1 |-- hdc |-- hde |-- hde1 `-- ide |-- host0 | |-- bus0 | | |-- target0 | | | `-- lun0 | | | |-- disc -> ../../../../../hda | | | |-- part1 -> ../../../../../hda1 | | | |-- part2 -> ../../../../../hda2 | | | `-- part4 -> ../../../../../hda4 | | `-- target1 | | `-- lun0 | | |-- disc -> ../../../../../hdb | | `-- part1 -> ../../../../../hdb1 | `-- bus1 | `-- target0 | `-- lun0 | `-- cd -> ../../../../../hdc `-- host2 `-- bus0 `-- target0 `-- lun0 |-- disc -> ../../../../../hde `-- part1 -> ../../../../../hde1
2005-04-26[PATCH] add any valid devicekay.sievers@vrfy.org
2005-04-26[PATCH] introduce format char 'k' for kernel-namekay.sievers@vrfy.org
Attached is a patch that introduces the format char 'k' to be replaced with the kernel name. I like to have it in a callout script. I've moved the build_kernel_name() back to namedev_name_device() since we don't expect it growing cause of 'sdaj' :)
2005-04-26[PATCH] trivial make fixeskay.sievers@vrfy.org
One patch to let bk ignore the created udev.conf. The second to depend on the .h files.
2005-04-26[PATCH] Just live with a sleep(1) in namedev for now until libsysfs is fixed up.greg@kroah.com
2005-04-26[PATCH] try to wait until the proper device file shows up in sysfs.greg@kroah.com
this still isn't working correctly for partitions, so don't think this is the final version...
2005-04-26[PATCH] libsysfs 0.4.0 patchdsteklof@us.ibm.com
Ananth released sysfsutils 0.4.0 last night, I'm sure you saw the email. Here's a patch with the latest changes from the pre-patch I already gave you. It includes sysfs_get_device_parent(), which you said you needed. I've run your test scripts and I've built scsi_id. Please play around with this and check it out. There are quite a few changes. Please do not access structure pointers, like sysfs_device's parent, directly like dev->parent. Please use the "get" function to retrieve. The functions load things on demand and refresh views under the covers.
2005-04-26[PATCH] don't overwrite old config on installkay.sievers@vrfy.org
Here is a patch for the Makefile to look for a already installed config and not to overwrite it.
2005-04-26[PATCH] udev-remove.c cleanupskay.sievers@vrfy.org
I've moved the malloc out of the udevdb into udev-remove to free the struct after use and not to allocate a different struct in the case the device is not in the data base. I seems a bit easier to read.