summaryrefslogtreecommitdiffstats
path: root/man/udevadm.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udevadm: info: also show parent devices by --treeYu Watanabe2022-04-171-1/+1
|
* udevadm: add new --tree mode to "udevadm info"Lennart Poettering2022-04-131-0/+9
| | | | sysfs is a tree, hence let's a mode that allows showing it as such.
* Fix man page linksZbigniew Jędrzejewski-Szmek2022-04-121-1/+1
| | | | Based on linkchecker as usual.
* fix typoYu Watanabe2022-04-041-1/+1
|
* Merge pull request #22963 from poettering/udevadm-diskseq-fixYu Watanabe2022-04-041-0/+32
|\ | | | | sd-device diskseq fix + udevadm info improvements
| * udevadm: show more fields of sd_device objects in "udevadm info"Lennart Poettering2022-04-041-0/+32
| | | | | | | | | | | | Let's make things easier to debug, and show a more comprehensive set of fields, extending on the existing output syntax that starts with one marker character followed by a colon and a space.
* | man: document new udevadm lock toolLennart Poettering2022-04-041-0/+116
|/
* udevadm: introduce new 'wait' commandYu Watanabe2022-04-011-9/+73
| | | | | | | | Prompted by https://github.com/systemd/systemd/pull/22717#issuecomment-1067348496. The new command 'udevadm wait' waits for device or device symlink being created. This may be useful to wait for a device is processed by udevd after e.g. formatting or partitioning the device.
* udevadm: trigger: implement --initialized-match/nomatch argumentsDanilo Krummrich2022-03-221-0/+29
| | | | | | | | | | | | | | | | | | | | systemd-udev-trigger.service by default triggeres all devices regardless of whether they were already recognized by systemd-udevd. There are machines (especially in embedded environments) where systemd-udev-trigger.service is configured to run at a later stage of the boot sequence, which can lead to quite a lot of devices being triggered although they were already recognized by systemd-udevd. Re-triggering a lot of devices is a relatively expensive operation and therefore should be avoided if unnecessary. Therefore this patch introduces --initialized-nomatch, which filters out devices that are already present in the udev database. For consistance reasons --initialized-match is implemented as well, which filters out devices that are *not* already present in the udev database. Replaces #19949.
* udevadm trigger: introduce --type=all optionYu Watanabe2022-03-221-3/+3
|
* udevadm trigger: introduce --prioritized-subsystem optionYu Watanabe2022-03-221-0/+13
|
* udevadm: make test and test-builtin command accept /dev path or device unitYu Watanabe2022-02-021-2/+2
|
* udev: teach udevadm --property=NAME and --value optionsFrantisek Sumsal2021-09-291-0/+18
| | | | | which allows limiting the properties listed by the `--query=property` option (and optionally listing only the respective values).
* udevadm: introduce -a|--action option for test-builtin commandYu Watanabe2021-08-171-0/+12
| | | | | As net_setup_link builtin requires that a device action is set for the sd_device object.
* udevadm: fix --tag-match help + descriptionLennart Poettering2021-06-071-1/+1
|
* udevadm: make use of the new uuid-enabled triggering for "udevadm trigger"Lennart Poettering2021-05-261-0/+9
| | | | | | | | | | | | | | This adds two things: - A new switch --uuid is added to "udevadm trigger". If specified a random UUID is associated with the synthettic uevent and it is printed to stdout. It may then be used manually to match up uevents as they propagate through the system. - The UUID logic is now implicitly enabled if "udevadm trigger --settle" is used, in order to wait for precisely the uevents we actually trigger. Fallback support is kept for pre-4.13 kernels (where the requests for trigger uevents with uuids results in EINVAL).
* man: document udevadm info output prefixesLennart Poettering2021-05-261-0/+39
| | | | Fixes: #19663
* udevadm-trigger: introduce --quiet optionYu Watanabe2021-02-201-0/+7
| | | | This may be useful to invoke the command by non-privileged users.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* man: use trailing slash on directories in more placesZbigniew Jędrzejewski-Szmek2020-10-051-5/+5
|
* udevadm: rename option '--log-priority' into '--log-level'Franck Bui2020-09-221-1/+1
| | | | | | Let's be consistent with systemctl(1). '--log-priority' i still kept only for backward compatibility.
* man: udevadm: mention non-zero exit code on settleYigal Korman2020-06-091-1/+3
| | | | | 'udevadm settle --timeout=XY' will return 1 in case the timeout was reached and the event queue was not empty. The manpage should mention it.
* man: list possible action string and default valueYu Watanabe2019-08-311-2/+5
| | | | Closes #13442.
* udevadm: support special value 'help' for --action optionYu Watanabe2019-06-281-3/+6
|
* udevadm: add --wait-for-initialization option to "udevadm info"Yu Watanabe2019-06-031-0/+8
|
* man: add a page for systemd-udev-settle.serviceZbigniew Jędrzejewski-Szmek2019-04-101-0/+4
|
* 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
* man: standarize on one-line license headerZbigniew Jędrzejewski-Szmek2019-03-141-4/+1
| | | | | | No need to waste space, and uniformity is good. $ perl -i -0pe 's|\n+<!--\s*SPDX-License-Identifier: LGPL-2.1..\s*-->|\n<!-- SPDX-License-Identifier: LGPL-2.1+ -->|gms' man/*.xml
* man: mention possible actions supported by "udevadm trigger"Yu Watanabe2019-03-071-2/+4
|
* man: udevadm: mention that no control command can be specified after --exitYu Watanabe2019-02-191-2/+4
|
* udevadm: trigger: support multiple argumentsYu Watanabe2019-01-231-5/+5
| | | | Closes #6098.
* man: udevadm: clarify the behavior when multiple matching rules are specifiedYu Watanabe2019-01-221-39/+41
| | | | Closes #2995.
* man: add more explanation about options for "udevadm test"Yu Watanabe2019-01-221-4/+7
| | | | Closes #2476.
* man: mention that 'udevadm control --exit' restarts systemd-udevd.serviceYu Watanabe2019-01-211-1/+5
| | | | Closes #1802.
* udevadm: add --wait-daemon option to 'trigger' commandYu Watanabe2019-01-181-0/+8
|
* udevadm: add --ping option to 'control' commandYu Watanabe2019-01-181-0/+7
| | | | This exposes `udev_ctrl_send_ping()`.
* udevadm: allow multiple arguments to "info"Zbigniew Jędrzejewski-Szmek2018-12-111-4/+4
| | | | | This matches udevadm trigger, which allows multiple arguments since 80877656a55.
* udevadm: allow a .device unit to be specified for query and triggerZbigniew Jędrzejewski-Szmek2018-12-111-27/+26
| | | | | | | | | This is convenient when working with device units in systemd. Instead of converting the systemd unit name to a path to feed to udevadm, udevadm info|trigger can be called directly on the unit name. The man page is reworked a bit to describe the modern syntax with positional arguments first. It's just simpler to use than the positional options.
* 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-8/+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-1/+1
| | | | | | 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: fix a couple of TABsLennart Poettering2018-05-221-5/+5
|
* man: fix invalid option name --devpath in 'udevadm info' (#8935)Yu Watanabe2018-05-091-5/+5
|
* man: --debug option is implied in udev test and test-builtin commands (#8933)Yu Watanabe2018-05-091-1/+2
|
* 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/udevadm: remove superfluous --version from subcommands (#8549)Jan Synacek2018-03-221-8/+0
| | | There's need to show the program specific --version for each subcommand.
* udevadm: allow trigger command to be synchronousMao2018-02-091-0/+11
| | | | | | | | | | | | | | | | | | | | There are cases that we want to trigger and settle only specific commands. For example, let's say at boot time we want to make sure all the graphics devices are working correctly because it's critical for booting, but not the USB subsystem (we'll trigger USB events later). So we do: udevadm trigger --action="add" --subsystem-match="graphics" udevadm settle However, we cannot block the kernel from emitting kernel events from discovering USB devices. So if any of the USB kernel event was emitted before the settle command, the settle command would still wait for the entire queue to complete. And if the USB event takes a long time to be processed, the system slows down. The new `settle` option allows the `trigger` command to wait for only the triggered events, and effectively solves this problem.
* man: add missing options to and use standard-options.xml in udevadm(8)Yu Watanabe2017-12-051-73/+32
|