summaryrefslogtreecommitdiff
path: root/udev.8
AgeCommit message (Collapse)Author
2005-04-26[PATCH] callout part selector tweakkay.sievers@vrfy.org
Martin Schwenke <martin@meltin.net> asked for this feature and posted a patch: The following patch almost let's me have the following configuration: PROGRAM="/sbin/aliaser %b %k %n %M %m", RESULT="?*", NAME="%c{1}", SYMLINK="%c{2+}" allowing me to specify an arbitrary number of symlinks by saying "giveme the second and later words"." Here is the actual version with tests and a few words in the man page.
2005-04-26[PATCH] allow to specify node permissions in the rulekay.sievers@vrfy.org
This allows to set the permissions along with the rule. This is not a general replacement for the permissions config, but it may be easier sometimes for the user to specify the permissions along with the rule, cause the permissions config file wants the final node name to match, which seems sometimes a bit difficult to guess, if format % chars are used in the NAME field. Any value not given in the rule is still be read from the permissions file or set to the default. This one will also work: BUS="usb", KERNEL="video*", NAME="my-%k", OWNER="$local" A few words to man page are also added and add_perm_dev() is moved into namedev_parse.c where it belongs to.
2005-04-26[PATCH] man page beautykay.sievers@vrfy.org
Thanks to Christian Gierke, he sent me a beauty patch for our man pages. Some typos are fixed and a few word are clarified.
2005-04-26[PATCH] put symlink only rules to the man pagekay.sievers@vrfy.org
Here we mention the "symlink only - add it to another rule" feature to the man page. Andrey, does this describe what you have implemented :)
2005-04-26[PATCH] conditional remove of trailing sysfs whitespacekay.sievers@vrfy.org
Hey, it may never happen, that one wants to distinguish attributes by trailing spaces, but we should not lose the control over it, just for being lazy :) Here we remove the trailing spaces of the sysfs attribute only if the configured value to match doesn't have any trailing spaces by itself. So if you put a attribute in a rule with spaces at the end, the sysfs attribute _must_ match exactly. Is that cool for everyone? As usual, 2 tests are added for it with a artificial sysfs file and a few words to the man page.
2005-04-26[PATCH] Small fix to remove extra "will" in man pagehannal@us.ibm.com
remove extraneous word.
2005-04-26[PATCH] update documetation for $localrml@ximian.com
On Mon, 2004-03-01 at 17:44, Greg KH wrote: > Hm, that should be Robert's job actually, he should do something for > real... :) Hey, I wrote the nifty local user detection snippet - but, I owe Kay, so here is an updated man page.
2005-04-26[PATCH] udev - man page updatekay.sievers@vrfy.org
Here is a small change to the udev man page: - clarify the use of the NAME{all_partitions} syntax and add a example to udev.rules.example - mention the empty NAME field to ignore the device - prepare a SYMLINK field for the addition of Andrey's "multiple symlinks" documentation :)
2005-04-26[PATCH] escape dashes in man pagesmd@Linux.IT
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales (by Philipp Matthias Hahn).
2005-04-26[PATCH] udev - activate formt length attributekay.sievers@vrfy.org
We carried the the old callout part selector syntax for two releases now after it was replaced by the new %c{1} syntax. So here we remove the old syntax and use the code to possibly specify the maximum count of chars to insert into the string. It will work with all of our format chars. I don't know if somebody will use it, but the code is already there :) 's%3s{vendor}' returns "IBM" now, instead of "IBM-ESXS". Also added is a test for it and a few words in the man page.
2005-04-26[PATCH] remove limit of the number of args passed to PROGRAMgreg@kroah.com
If we go over our internal limit of 7, then we call out to /bin/sh otherwise we handle it ourself without relying on a shell.
2005-04-26[PATCH] udev - man page updatekay.sievers@vrfy.org
Hey it's not longer the "goal" to provide a dynamic dev directory, we have just arrived. So I change it to more self-confident words :) I've also added the completly missing environment variables to the man pages. To stop the misuse of the PROGRAM= call paramenters, we better mention its limitations.
2005-04-26[PATCH] manpage updatekay.sievers@vrfy.org
Nice, here is the corresponding man update which also removes the mention of the limitation of getgrname() and friends with klibc.
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] 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] add udev_log to the documentation.greg@kroah.com
2005-04-26[PATCH] remove command line documentation from udev man pagegreg@kroah.com
2005-04-26[PATCH] set default owner/group in db - updatekay.sievers@vrfy.org
I've edited the man page today, so this is alreay included :) Also a few more trivials: o added the defaults to udev.conf.in o removed class_dev from get_default_mode(), to match with Hanna's o changed size of mode_str to MODE_SIZE o changed a few char compares from from 0x00 to '\0'
2005-04-26[PATCH] udev - reverse user query optionskay.sievers@vrfy.org
Here we get the ability to query with the name of the node instead of the device path. It uses a linear search over the whole database. kay@pim:~/src/udev.kay$ ./udev -q path -n video/webcam0 /class/video4linux/video0 New version, with better function return codes for error handling.
2005-04-26[PATCH] remove the %D modifier as it is not longer needed.greg@kroah.com
2005-04-26[PATCH] udev - mention format string escape char in man pagekay.sievers@vrfy.org
If we want to pass any '%' down to a program, you need to ecape it by '%%', otherwise we try to expand it with our own format char list.
2005-04-26[PATCH] udev - more CALLOUT is PROGRAM nowkay.sievers@vrfy.org
On Tue, Jan 13, 2004 at 02:45:17AM +0100, Kay Sievers wrote: > replace CALLOUT by PROGRAM and fix old rule format One is missing.
2005-04-26[PATCH] fix -d typo in the manpage updategreg@kroah.com
2005-04-26[PATCH] update documentation for new config file formatkay.sievers@vrfy.org
Here is the man page update after my udev-weekend :)
2005-04-26[PATCH] add IGNORE rule typechristophe@saout.de
On Wed, Dec 31, 2003 at 11:24:53AM -0800, Greg KH wrote: > > There should be a possibility to tell udev not to create a device node. > > > > device-mapper: Usually set up by libdevmapper (or EVMS tools) which > > creates the device node on its own under /dev/mapper/<name>. > > > > With udev a second device is created named /dev/dm-<minor> which is not > > really needed. > > Good point. Ok, I'll agree with you. Care to make up a patch for this > kind of feature? Yes, I can try. There was no way to tell not to do anything so I created one. Errors are signalled via negative return values, so I thought that a positive, non-zero one could mean to ignore the device. I don't like it but perhaps you have a better solution.
2005-04-26[PATCH] mention user callable udev + options in man pagekay.sievers@vrfy.org
As usual, here is the corresponding man page update and a small text correction.
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] add documentation about the BUS key being optional for the LABEL rule.greg@kroah.com
2005-04-26[PATCH] add documentation about the BUS key being optional for the CALLOUT rule.greg@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] trivial cleanup parser changeskay.sievers@vrfy.org
o use defines in debug strings o replace my 'xxx' debug :) o shorten line in man page example to not to exceed 80 chars when printed
2005-04-26[PATCH] some cleanups due to the need for LABEL rules to use "SYSFS_" now.greg@kroah.com
2005-04-26[PATCH] don't rely on field order in namedev_parsekay.sievers@vrfy.org
o change the parsing to get a key from the rule and sort it into our list of known keys instead of expecting a special order o the key to match a sysfs file must be prependend by 'SYSFS_' now to match with the new parsing. (The config must be changed, but it's a bit more descriptive too.) o put names of fields in define's, like the name of the methods o update all tests and the man page
2005-04-26[PATCH] change devfs disk name rule from 'disk' to 'disc'greg@kroah.com
2005-04-26[PATCH] man-page mention multiple symlinkskay.sievers@vrfy.org
As usual, when the stuff gets in the tree - here is a small man page update and a TODO line removal. mention multiple symlinks update example with silly symlink rule :) shorten example line to have less than 80 chars remove "want symlink support" from TODO
2005-04-26[PATCH] cleanup man & remove symlink commentkay.sievers@vrfy.org
remove "want symlinks" text from udev-add.c mention SYMLINK in man page man page format cleanup man page example for SYMLINK
2005-04-26[PATCH] man page beautykay.sievers@vrfy.org
I've never seen any project where the documentation is in sync with the code at this early stage. Nice! So here is the patch to make it extra perfect :) remove random indent to be consistent style is "shell style" s/wildcard/pattern/ mention negation char in character class
2005-04-26[PATCH] Added Kay's name to the man page.greg@kroah.com
2005-04-26[PATCH] update the wildcard documentation in the man page to show the new ↵greg@kroah.com
styles supported.
2005-04-26[PATCH] Update the man page to show the new config file, it's format, and ↵greg@kroah.com
how to use it. wow, update the docs to keep in line with reality, what a concept...
2005-04-26[PATCH] add test and documentation for new %D devfs format modifiergreg@kroah.com
2005-04-26[PATCH] udev.8 tweak numeric id textkay.sievers@vrfy.org
04-udev.8-tweak-numeric-id-text.diff o change "return value" to "returned string" o add textual owner/group example for udev.permissions o mention klibc compile as special case for udev.permissions o remove duplicated numeric owner clause
2005-04-26[PATCH] updated the man page with the latest format specifier changes.greg@kroah.com
2005-04-26[PATCH] namedev.c - change order of fields in CALLOUTkay.sievers@vrfy.org
I want to bring the CALLOUT field ordering in line with the other methods, cause the current parsing relies on the ordering it's good to have it like the others. The BUS= is now the first expected field. Also made the last two remaining field names to uppercase and the man page callout example is updated.
2005-04-26[PATCH] man page with udev.permissions wildcardkay.sievers@vrfy.org
here is the permissions wildcard text for the man page.
2005-04-26[PATCH] man page with included placeholder listkay.sievers@vrfy.org
mention the printf-like support for string substitution in the NAME field
2005-04-26[PATCH] more manpage tweakskay.sievers@vrfy.org
man page style fixes present the tiny udev in bold font :)
2005-04-26[PATCH] rename namedev.permissions and namedev.config to udev.permissions ↵greg@kroah.com
and udev.config the namedev name didn't really make much sense anymore...
2005-04-26[PATCH] man page updatekay@vrfy.org
here a new patch for the man page: o namdev.permissions added o corrected a few typos o corrected text for config line format. owner, group mode are only in namedev.permissions (don't know what i was dreaming, while i wrote this :))