1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
Commit Graph

45 Commits

Author SHA1 Message Date
md@Linux.IT
758f236fd1 [PATCH] escape dashes in man pages
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales
(by Philipp Matthias Hahn).
2005-04-26 21:35:06 -07:00
kay.sievers@vrfy.org
63ead27c22 [PATCH] udev - activate formt length attribute
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 21:34:29 -07:00
greg@kroah.com
dde05ccb8d [PATCH] remove limit of the number of args passed to PROGRAM
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 21:32:31 -07:00
kay.sievers@vrfy.org
bef370d6eb [PATCH] udev - man page update
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 21:32:30 -07:00
kay.sievers@vrfy.org
167a27e70f [PATCH] manpage update
Nice, here is the corresponding man update which also removes the
mention of the limitation of getgrname() and friends with klibc.
2005-04-26 21:32:30 -07:00
kay.sievers@vrfy.org
ad63031e49 [PATCH] udev - add %s{filename} to man page
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 21:32:28 -07:00
kay.sievers@vrfy.org
16378373cb [PATCH] udev - switch SYSFS_file to SYSFS{file}
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 21:32:28 -07:00
greg@kroah.com
0c040e8d7c [PATCH] add udev_log to the documentation. 2005-04-26 21:32:27 -07:00
greg@kroah.com
05c0c9da0b [PATCH] remove command line documentation from udev man page 2005-04-26 21:13:19 -07:00
kay.sievers@vrfy.org
765cbd9759 [PATCH] set default owner/group in db - update
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 21:13:17 -07:00
kay.sievers@vrfy.org
b2a21a3547 [PATCH] udev - reverse user query options
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 21:13:17 -07:00
greg@kroah.com
18f0045bc8 [PATCH] remove the %D modifier as it is not longer needed. 2005-04-26 21:13:16 -07:00
kay.sievers@vrfy.org
b6864b4bf1 [PATCH] udev - mention format string escape char in man page
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 21:13:16 -07:00
kay.sievers@vrfy.org
e68faf511d [PATCH] udev - more CALLOUT is PROGRAM now
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 21:13:16 -07:00
greg@kroah.com
2ebcaa235f [PATCH] fix -d typo in the manpage update 2005-04-26 21:13:15 -07:00
kay.sievers@vrfy.org
4bd46ac7e5 [PATCH] update documentation for new config file format
Here is the man page update after my udev-weekend :)
2005-04-26 21:13:15 -07:00
christophe@saout.de
f1db055ab2 [PATCH] add IGNORE rule type
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 21:13:14 -07:00
kay.sievers@vrfy.org
4070d2fea0 [PATCH] mention user callable udev + options in man page
As usual, here is the corresponding man page update and
a small text correction.
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
e15b5ed5de [PATCH] small trivial cleanup of latest changes
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 21:13:11 -07:00
greg@kroah.com
2b8b644177 [PATCH] add documentation about the BUS key being optional for the LABEL rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
a38401d3e8 [PATCH] add documentation about the BUS key being optional for the CALLOUT rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
170ae44e7d [PATCH] add documentation for the new '%k' modifier (kernel name replacement) 2005-04-26 21:13:10 -07:00
greg@kroah.com
aa9c2a1e25 [PATCH] add documentation about the multiple sysfs values that are now allowed for the LABEL rule. 2005-04-26 21:13:10 -07:00
kay.sievers@vrfy.org
4868e8fba7 [PATCH] trivial cleanup parser changes
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 21:13:09 -07:00
greg@kroah.com
3c54f73e84 [PATCH] some cleanups due to the need for LABEL rules to use "SYSFS_" now. 2005-04-26 21:13:08 -07:00
kay.sievers@vrfy.org
d94df23242 [PATCH] don't rely on field order in namedev_parse
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 21:13:08 -07:00
greg@kroah.com
525d07e78e [PATCH] change devfs disk name rule from 'disk' to 'disc' 2005-04-26 21:13:07 -07:00
kay.sievers@vrfy.org
26004fcc66 [PATCH] man-page mention multiple symlinks
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 21:13:07 -07:00
kay.sievers@vrfy.org
c6c13c3181 [PATCH] cleanup man & remove symlink comment
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 21:13:06 -07:00
kay.sievers@vrfy.org
83fa40fc2a [PATCH] man page beauty
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 21:13:06 -07:00
greg@kroah.com
fc1f0d4326 [PATCH] Added Kay's name to the man page. 2005-04-26 21:13:05 -07:00
greg@kroah.com
07d7cfd1fa [PATCH] update the wildcard documentation in the man page to show the new styles supported. 2005-04-26 21:13:05 -07:00
greg@kroah.com
4865de4429 [PATCH] Update the man page to show the new config file, it's format, and how to use it.
wow, update the docs to keep in line with reality, what a concept...
2005-04-26 21:13:05 -07:00
greg@kroah.com
36043f8418 [PATCH] add test and documentation for new %D devfs format modifier 2005-04-26 21:13:04 -07:00
kay.sievers@vrfy.org
5b8ba50aa2 [PATCH] udev.8 tweak numeric id text
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 21:13:04 -07:00
greg@kroah.com
67922099bf [PATCH] updated the man page with the latest format specifier changes. 2005-04-26 21:13:02 -07:00
kay.sievers@vrfy.org
cb08e0f253 [PATCH] namedev.c - change order of fields in CALLOUT
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 21:06:25 -07:00
kay.sievers@vrfy.org
d0a4a110b7 [PATCH] man page with udev.permissions wildcard
here is the permissions wildcard text for the man page.
2005-04-26 21:06:25 -07:00
kay.sievers@vrfy.org
4b710f033e [PATCH] man page with included placeholder list
mention the printf-like support for string substitution in the NAME field
2005-04-26 21:06:25 -07:00
kay.sievers@vrfy.org
da86c7f02f [PATCH] more manpage tweaks
man page style fixes
  present the tiny udev in bold font :)
2005-04-26 21:06:23 -07:00
greg@kroah.com
d411208793 [PATCH] rename namedev.permissions and namedev.config to udev.permissions and udev.config
the namedev name didn't really make much sense anymore...
2005-04-26 21:04:09 -07:00
kay@vrfy.org
eb13ff8707 [PATCH] man page update
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 :))
2005-04-26 21:04:09 -07:00
lkml001@vrfy.org
3370fb2152 [PATCH] man file update
changes:
o CALLOUT method included
o required keys for every match method listed
o keywords changed to uppercase in EXAMPLE
2005-04-26 21:01:42 -07:00
lkml001@vrfy.org
d3db5e5e40 [PATCH] man page update 2005-04-26 21:01:42 -07:00
greg@kroah.com
04db8c9e06 [PATCH] add udev man page (basically just a place holder for now.) 2005-04-26 21:01:41 -07:00