summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] remove udevtest on 'make clean'greg@kroah.com
2005-04-26[PATCH] 018_bk markgreg@kroah.com
2005-04-26[PATCH] remove udevd priority TODO item, as it's not needed at all.greg@kroah.com
We want to be started by keventd, as that runs at a very fast priority.
2005-04-26[PATCH] v018 releaseudev/v018greg@kroah.com
2005-04-26[PATCH] added scsi_id and some more documentation to the udev.spec file.greg@kroah.com
2005-04-26[PATCH] update udev.rules.gentoo with new config file format.greg@kroah.com
2005-04-26[PATCH] Update the Gentoo udev.rules and udev.permissions filesgreg@kroah.com
These are very good devfs-like rules for others to use if they want to.
2005-04-26[PATCH] Create a udev.rules.examples file to hold odd udev.rulesgreg@kroah.com
These are for examples only, not for everyone to use as they cause too many problems for different people when they are in the main udev.rules file.
2005-04-26[PATCH] symlink dm-[0-9]* ruleext.devoteam.varoqui@sncf.fr
2005-04-26[PATCH] add udevd priority issue to the TODO list.greg@kroah.com
2005-04-26[PATCH] more HOWTO cleanups.greg@kroah.com
2005-04-26[PATCH] add HOWTO detailing how to use udev to manage /devgreg@kroah.com
2005-04-26[PATCH] udev - TODO updatekay.sievers@vrfy.org
Make TODO really small :)
2005-04-26[PATCH] udev use new libsysfs header file locationpatmans@us.ibm.com
Use the new location of libsysfs header files.
2005-04-26[PATCH] mv libsysfs/libsysfs.h to libsysfs/sysfs/libsysfs.h to make it ↵greg@kroah.com
easier to use.
2005-04-26[PATCH] add start_udev init script.greg@kroah.com
2005-04-26[PATCH] add support for UDEV_NO_SLEEP env variable so Gentoo people will be ↵greg@kroah.com
happy. Actually, I'm happy to, startup time is much smaller...
2005-04-26[PATCH] start up udevd ourselves in the init script to give it some good ↵greg@kroah.com
priorities.
2005-04-26[PATCH] update extras/multipathext.devoteam.varoqui@sncf.fr
patch follows : * remove the restrictive -f flag. Introduce a more generic "-m iopolicy" one. * remove useless "int with_sysfs" in env struct
2005-04-26[PATCH] init.d debian patchjohn-hotplug@fjellstad.org
I dualboot between 2.4.x and 2.6.x right now, and although I want udev to start up when 2.6 is booting, I don't want it to try when 2.4.x is booting. This is a small patch to not start up udev if sysfs is not mounted.
2005-04-26[PATCH] udev - add %s{filename} to man pagekay.sievers@vrfy.org
Add the new %s{filename} to the udev man page. And add the automatic start of udevd to the udevd man page.
2005-04-26[PATCH] update the red hat init script to handle nodes that are not presentgreg@kroah.com
Thanks to Gentoo for the list of these files.
2005-04-26[PATCH] udev - udevd/udevsend man pagekay.sievers@vrfy.org
Here is the missing man page for udevd/udevsend.
2005-04-26[PATCH] add a "old style" SYSFS_attribute test to udev-test.plgreg@kroah.com
2005-04-26[PATCH] udev - switch callout part selector to {attribute}kay.sievers@vrfy.org
Here we change the magic callout part number selector to the new atribute syntax. The syntax to select the second part of the callout string: '%2c' is now '%c{2}' I think it's more clear and we no longer misuse the length argument. The old syntax is still supported, but we should remove it some time in the future.
2005-04-26[PATCH] udev - switch SYSFS_file to SYSFS{file}kay.sievers@vrfy.org
Here we switch the configs and man pages to the new attribute syntax. Also the 'partition trick' is mentioned in udev.8 I think it's more clear visible now, that inside the brackets are user supplied values used and not some magic keys handled: 'SYSFS_dev' is now 'SYSFS{dev}' The old syntax is still supported.
2005-04-26[PATCH] Have udevsend report more info in debug mode.greg@kroah.com
2005-04-26[PATCH] Have udevd report it's version in debug mode.greg@kroah.com
2005-04-26[PATCH] udev add some ID testspatmans@us.ibm.com
Patch against current udev bk to add a few ID rule tests.
2005-04-26[PATCH] fix up bug created for udevtest in previous partition creation patch.greg@kroah.com
2005-04-26[PATCH] udev - create all partitions of blockdevicekay.sievers@vrfy.org
Here is the first try to create all partitons of a blockdevice, since removable media devices may need to acces the expected partition to revalidate the media. It uses the attribute syntax introduced with the last %s{file} patch. I'm using this with my multi-slot-flash-card-reader: SYSFS{model}="USB Storage-SMC ", NAME{all_partitions}="smartmedia" SYSFS{model}="USB Storage-CFC ", NAME{all_partitions}="compactflash" SYSFS{model}="USB Storage-MSC ", NAME{all_partitions}="memorystick" SYSFS{model}="USB Storage-MMC ", NAME{all_partitions}="multimedia" and I get: tree /udev/ /udev/ |-- memorystick |-- memorystick1 |-- memorystick10 |-- memorystick11 |-- memorystick12 |-- memorystick13 |-- memorystick14 |-- memorystick15 |-- memorystick2 |-- memorystick3 |-- memorystick4 |-- memorystick5 |-- memorystick6 |-- memorystick7 |-- memorystick8 |-- memorystick9 |-- multimedia |-- multimedia1 |-- multimedia10 |-- multimedia11 |-- multimedia12 |-- multimedia13 |-- multimedia14 |-- multimedia15 |-- multimedia2 |-- multimedia3 |-- multimedia4 |-- multimedia5 |-- multimedia6 |-- multimedia7 |-- multimedia8 |-- multimedia9 ... If needed, we can make the number of partions to create adjustable with the attribute?
2005-04-26[PATCH] allow SYSFS{file}kay.sievers@vrfy.org
On Sun, Feb 15, 2004 at 03:36:00AM +0100, Kay Sievers wrote: > > Since we have %s{file} it may be nice to allow SYSFS{file}. > This patch allows: > > BUS="usb", SYSFS{idProduct}="a511", NAME="video%n" > > compared to the current: > > BUS="usb", SYSFS_idProduct="a511", NAME="video%n" > > The curent syntax is still supported. > Looks a bit nicer and less hackish, I think. Better patch with infrastructure to easily implement KEY{attribute} for every other key. The first user is the SYSFS{file} key. Both versions, brackets or underscore is supported for the attribute.
2005-04-26[PATCH] Adding '%s' format specifier to NAME and SYMLINKkay.sievers@vrfy.org
On Thu, Feb 12, 2004 at 05:34:57PM -0800, Greg KH wrote: > On Tue, Feb 10, 2004 at 09:14:20AM +0100, Hannes Reinecke wrote: > > Hi all, > > > > this patch makes the format for NAME and SYMLINK a bit more flexible: > > I've added a new format specifier '%s{<SYSFS_var>}', which allows for > > the value of any sysfs entry found for this device to be inserted. > > Example (for our S/390 fcp adapter): > > > > BUS="ccw", SYSFS_devtype="1732/03", NAME="%k" \ > > SYMLINK="zfcp-%s{hba_id}-%s{wwpn}:%s{fcp_lun}" > > > > I know this could also be done with an external program, but having this > > incorporated into udev makes life easier, especially if run from > > initramfs. Plus it makes the rules easier to follow, as the result is > > directly visible and need not to be looked up in some external program. > > > > Comments etc. welcome. > > Oops, sorry I missed this for the 017 release. I'll look at it tomorrow > and get back to you. At first glance it looks like a good thing. > > Oh, you forgot to update the documentation, that's important to do if > you want this change to make it in :) I took a part of the code and made a version that uses already implemented attribute finding logic. The parsing of the format length '%3x' and the '%x{attribute}' is a fuction now, maybe there are more possible users in the future. I've also added the test to udev-test.pl.
2005-04-26[PATCH] update the udev.spec to add udevtest and make some more Red Hat ↵greg@kroah.com
suggested changes.
2005-04-26[PATCH] add ability to install udevtest to Makefilegreg@kroah.com
2005-04-26[PATCH] 017_bk markgreg@kroah.com
2005-04-26[PATCH] Add another test to udev-test.pl and fix a bug when only running 1 test.greg@kroah.com
2005-04-26[PATCH] Fix bug where we did not use the "converted" kernel name if we had ↵greg@kroah.com
no rule. This fixes the bug with names that have a ! in them and no rule to match.
2005-04-26[PATCH] v017 releaseudev/v017greg@kroah.com
2005-04-26[PATCH] more udev-016/extras/multipathchristophe.varoqui@free.fr
incremental to udev-016/extras/multipath-0.0.16.3, * add a GROUP_BY_SERIAL flag. This should be useful for controlers that activate their spare paths on simple IO submition with a penalty. The StorageWorks HW defaults to this mode, even if the MULTIBUS mode is OK. * remove unused sg_err.c * big restructuring : split devinfo.c from main.c. Export : * void basename (char *, char *); * int get_serial (int, char *); * int get_lun_strings (char *, char *, char *, char *); * int get_evpd_wwid(char *, char *); * long get_disk_size (char *); Now we see clearly what is expected from an external package like scsi_id. * stop passing struct env as param
2005-04-26[PATCH] more udev-016/extras/multipathchristophe.varoqui@free.fr
> Hello, > > incremental to udev-016/extras/multipath, > > * don't rely on the linux symlink in the udev/klibc dir since > udev build doesn't use it anymore. This corrects build breakage > * remove make_dm_node fn & call. Rely on udev for this. > > The first patch is to be applied. > The second is conditioned by udev dealing correctly with devmap names. > > For this I can suggest a CALLOUT rule like this : > KERNEL="dm-[0-9]*", PROGRAM="/tmp/name_devmap %M %m", NAME="%k", > SYMLINK="%c" > > With name_devmap like : > #!/bin/sh > /usr/sbin/dmsetup ls|/bin/grep "$1, $2"|/usr/bin/awk '{print $1}' > ok I coded the suggested tool. it works with the following rule : KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c" I don't know if it's right to keep this tools packaged with multipath because it's widely more general. Maybe Joe should merge it in the device-mapper package or provide the functionnality through dmsetup ?
2005-04-26[PATCH] add udev_log to the documentation.greg@kroah.com
2005-04-26[PATCH] fix offsetof() define in klibc.greg@kroah.com
2005-04-26[PATCH] add some .spec file changes from Red Hat.greg@kroah.com
2005-04-26[PATCH] update the init.d udev script based on a patch from Red Hat.greg@kroah.com
2005-04-26[PATCH] remove the .udev.tdb when installing or uninstalling to be safe.greg@kroah.com
2005-04-26[PATCH] remove the database at startup.greg@kroah.com
2005-04-26[PATCH] udev - keep private data out of the database?kay.sievers@vrfy.org
Shouldn't we keep the temporary strings out of the database, or is this information useful for something? It cuts the length of the data from 628 to 275 bytes.
2005-04-26[PATCH] fix bug in permission handling.greg@kroah.com
2005-04-26[PATCH] update klibc to version .107greg@kroah.com