summaryrefslogtreecommitdiff
path: root/man/udev.xml
Commit message (Collapse)AuthorAgeFilesLines
* udev-rules: fix negative match rule for SYMLINK and TAGYu Watanabe2023-04-261-6/+9
| | | | Fixes #27396.
* tree-wide: use the term "initrd" at most places we so far used "initramfs"Lennart Poettering2022-09-231-7/+5
| | | | | | | | | | | | In most cases we refernced the concept as "initrd". Let's convert most remaining uses of "initramfs" to "initrd" too, to stay internally consistent. This leaves "initramfs" only where it's relevant to explain historical concepts or where "initramfs" is part of the API (i.e. in /run/initramfs). Follow-up for: b66a6e1a5838b874b789820c090dd6850cf10513
* man: replace full stop with colonYu Watanabe2022-03-131-1/+1
| | | | Fixes #22724.
* man: update description of "string_escape=" udev optionYu Watanabe2021-06-231-4/+7
|
* man: mention that != matches nonexistent keys tooZbigniew Jędrzejewski-Szmek2021-03-011-2/+4
| | | | Fixes #15984.
* man: reorder match types in udev rulesZbigniew Jędrzejewski-Szmek2021-03-011-31/+35
| | | | | The plural version should always be adjacent to the singular one. And the plural should not be explained before the singular one…
* man: fix two issues in udev(7)Zbigniew Jędrzejewski-Szmek2021-02-251-2/+2
| | | | Fixed #18050.
* man: mention new OPTIONS=log_level= udev ruleYu Watanabe2020-12-101-0/+18
|
* man: fix typoYu Watanabe2020-11-131-1/+1
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* document udev escaped string in udev(7)Yu, Li-Yu2020-10-291-722/+746
|
* man: use trailing slash on directories in more placesZbigniew Jędrzejewski-Szmek2020-10-051-6/+6
|
* man: add more details for IMPORT, PROGRAM and RUN keysZbigniew Jędrzejewski-Szmek2020-07-161-32/+47
| | | | | | | | 967de8faceaa83c11a1215515cb135d7a8c0c32c added a note that I found very hard to understand. Reword it, and also describe how IMPORT and PROGRAM are different from RUN. Minor markup adjustements too.
* man: suggest SYSTEMD_WANTS usage instead of RUN for long running processesLennart Poettering2020-01-171-0/+4
| | | | Fixes: #14259
* udev: introduce CONST key nameJan Synacek2019-10-141-0/+26
| | | | | | | | | | | | Currently, there is no way to match against system-wide constants, such as architecture or virtualization type, without forking helper binaries. That potentially results in a huge number of spawned processes which output always the same answer. This patch introduces a special CONST keyword which takes a hard-coded string as its key and returns a value assigned to that key. Currently implemented are CONST{arch} and CONST{virt}, which can be used to match against the system's architecture and virtualization type.
* Document (final) assignment on the RUN (#12310)Florian Dollinger2019-04-141-0/+2
| | | As described in #12291, final assignments and assignments are clearing both command types.
* man: use same header for all filesZbigniew Jędrzejewski-Szmek2019-03-141-1/+1
| | | | | | | The "include" files had type "book" for some raeason. I don't think this is meaningful. Let's just use the same everywhere. $ perl -i -0pe 's^..DOCTYPE (book|refentry) PUBLIC "-//OASIS//DTD DocBook XML V4.[25]//EN"\s+"http^<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"\n "http^gms' man/*.xml
* udev: use the usual set of load paths for udev rulesZbigniew Jędrzejewski-Szmek2019-02-181-14/+12
| | | | | | | | | | | | | | This adds /usr/local/lib/udev/rules.d to the search path on non-split-usr systems. On split-usr systems, the paths with /usr/-prefixes are added too. In the past, on split-usr systems, it made sense to only load rules from /lib/udev/rules.d, because /usr could be mounted late. But we don't support running without /usr since 80758717a63, so in practice it doesn't matter whether the rules files are in /lib/udev/rules.d or /usr/lib/udev/rules.d. Distributions that maintain the illusion of functional split-usr are welcome to simply not put any files in /usr/lib/udev/rules.d/. In practice this doesn't change much, but it makes udev more consistent with the rest of the systemd suite.
* man: document db_persist udev rules OPTIONMichal Sekletar2019-01-221-0/+12
| | | | Fixes #1551
* doc: fix udev(7) documentation about ATTR{} and SYSCTL{}Daniel Kahn Gillmor2018-08-231-0/+2
| | | | | | | | | | | | | | | | | Without this fix, udev(7) munges the two items together, like so: ATTR{filename}, SYSCTL{kernel parameter} Match sysfs attribute values of the event device. Trailing whitespace in the attribute values is ignored unless the specified match value itself contains trailing whitespace. Match a kernel parameter value. You're not allowed to have a <term> element after a <listitem> element within a <varlistentry>. xmllint complains: udev.xml:192: element varlistentry: validity error : Element varlistentry content does not follow the DTD, expecting (term+ , listitem), got (term listitem term listitem )
* man: drop mode line in file headersZbigniew Jędrzejewski-Szmek2018-07-031-1/+1
| | | | | This is already included in .dir-locals, so we don't need it in the files themselves.
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-201-2/+0
| | | | | | | | Fixes #9320. for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms' done
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-14/+0
| | | | | | | | | | | | Docbook styles required those to be present, even though the templates that we use did not show those names anywhere. But something changed semi-recently (I would suspect docbook templates, but there was only a minor version bump in recent years, and the changelog does not suggest anything related), and builds now work without those entries. Let's drop this dead weight. Tested with F26-F29, debian unstable. $ perl -i -0pe 's/\s*<authorgroup>.*<.authorgroup>//gms' man/*xml
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-2/+2
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* man: make clear that accessing network and mounting filesystems is not ↵Michal Sekletar2018-01-201-0/+3
| | | | | | | | | supported in udev rules (#7916) These restrictions are implied by systemd options used for systemd-udevd.service, i.e. MountFlags=slave and IPAddressDeny=any. However, there are users out there getting tripped by this, so let's make things clear in the man page so the actual restrictions we implement by default have better visibility.
* Add missing headers and SPDX identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+22
|
* udev: allow substitutions for SECLABEL key (#4505)Michal Sekletar2016-10-281-2/+2
|
* doc: correct punctuation and improve typography in documentationJan Engelhardt2015-11-061-2/+2
|
* udev: remove WAIT_FOR keyKay Sievers2015-06-301-9/+0
| | | | | | This facility was never a proper solution, but only papered over real bugs in the kernel. There are no known sysfs "timing bugs" since a long time.
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-8/+5
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: clarify that IMPORT{program} is done only for zero exit codeAndrei Borzenkov2015-06-101-1/+2
|
* man: replace hard-coded /usr/libDaniel Mack2015-06-021-2/+2
| | | | Replace some /usr/lib occurences in man/ with &rootprefix;/lib.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* udev: add SYSCTL{} supportKay Sievers2015-03-111-0/+12
|
* man: boilerplate unificationZbigniew Jędrzejewski-Szmek2015-02-101-1/+0
|
* tree-wide: spelling fixesVeres Lajos2014-12-301-1/+1
| | | | | | | https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo <torstein@huseboe.net>.
* systemd-hwdb: introduce new toolTom Gundersen2014-12-181-37/+0
| | | | | | | | This pulls out the hwdb managment from udevadm into an independent tool. The old code is left in place for backwards compatibility, and easy of testing, but all documentation is dropped to encourage use of the new tool instead.
* man: add emacs header to get correct indention in nxml-mode for the manpage ↵Lennart Poettering2014-11-211-1/+1
| | | | | | | | XML files that use 2ch indenting In the long run we really should figure out if we want to stick with 8ch or 2ch indenting, and not continue with half-and-half. For now, just make emacs aware of the files that use 2ch indenting.
* udev hwdb: Support shipping pre-compiled database in system imagesMartin Pitt2014-10-281-1/+3
| | | | | | | | | | | | | | | | In some cases it is preferable to ship system images with a pre-generated binary hwdb database, to avoid having to build it at runtime, avoid shipping the source hwdb files, or avoid storing large binary files in /etc. So if hwdb.bin does not exist in /etc/udev/, fall back to looking for it in UDEVLIBEXECDIR. This keeps the possibility to add files to /etc/udev/hwdb.d/ and re-generating the database which trumps the one in /usr/lib. Add a new --usr flag to "udevadm hwdb --update" which puts the database into UDEVLIBEXECDIR. Adjust systemd-udev-hwdb-update.service to not generate the file in /etc if we already have it in /usr.
* udev: allow removing tags via TAG-="foobar"David Herrmann2014-09-111-0/+7
| | | | | | | | | | This extends the udev parser to support OP_REMOVE (-=) and adds support for TAG-= to remove previously set tags. We don't fail if the tag didn't exist. This is pretty handy if we ship default rules for seat-assignments and users want to exclude specific devices from that. They can easily add rules that drop any automatically added "seat" tags again.
* Document "...|..." udev match syntaxAndrei Borzenkov2014-08-271-2/+10
|
* man: add missing commaZbigniew Jędrzejewski-Szmek2014-07-311-1/+1
|
* udev: unify event timeout handlingKay Sievers2014-07-291-7/+0
|
* man: split out systemd.link(5) from udev(7)Tom Gundersen2014-02-251-280/+8
|
* core: clean up some confusing regarding SI decimal and IEC binary suffixes ↵Lennart Poettering2014-02-231-3/+7
| | | | | | | | | | | for sizes According to Wikipedia it is customary to specify hardware metrics and transfer speeds to the basis 1000 (SI decimal), while software metrics and physical volatile memory (RAM) sizes to the basis 1024 (IEC binary). So far we specified everything in IEC, let's fix that and be more true to what's otherwise customary. Since we don't want to parse "Mi" instead of "M" we document each time what the context used is.
* udev: net - allow MTU and Speed to be specified with unitsTom Gundersen2014-02-221-4/+5
| | | | | This also changes the names to MTUBytes and BitsPerSecond, respectively. Notice that the speed was mistakenly documented to be in bytes before this change.
* net-util: match on the driver as exposed by ethtool if DRIVER not setTom Gundersen2014-02-211-1/+3
| | | | Also fix a copy-paste error that broke matching on interface name.
* man: suffix networkd config file options with "="Lennart Poettering2014-02-211-21/+21
| | | | | That's what we do for all options in the other man pages. It helps clarifying that these are options that values need to be assigned to.