From: Matthias Lisin <6209465+ml-@users.noreply.github.com> Date: Wed, 16 Oct 2024 05:02:21 +0000 (+0200) Subject: man: fix args order for udevadm info cmd X-Git-Tag: v258-rc1~1812^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bc06da775a94bd8a1d788c3addf7d61aabff4e8;p=thirdparty%2Fsystemd.git man: fix args order for udevadm info cmd --- diff --git a/TODO b/TODO index 91127eff943..3fad822bc66 100644 --- a/TODO +++ b/TODO @@ -795,7 +795,7 @@ Features: * udevd: extend memory pressure logic: also kill any idle worker processes * udevadm: to make symlink querying with udevadm nicer: - - do not enable the pager for queries like 'udevadm info -q -r symlink' + - do not enable the pager for queries like 'udevadm info -q symlink -r' - add mode with newlines instead of spaces (for grep)? * SIGRTMIN+18 and memory pressure handling should still be added to: hostnamed, diff --git a/man/fido2-crypttab.sh b/man/fido2-crypttab.sh index 43654a52364..d1c31e3e8ce 100644 --- a/man/fido2-crypttab.sh +++ b/man/fido2-crypttab.sh @@ -10,7 +10,7 @@ sudo systemd-cryptsetup attach mytest /dev/sdXn - fido2-device=auto # If that worked, let's now add the same line persistently to /etc/crypttab, # for the future. We don't want to use the (unstable) /dev/sdX name, so let's # figure out a stable link: -udevadm info -q -r symlink /dev/sdXn +udevadm info -q symlink -r /dev/sdXn # Now add the line using the by-uuid symlink to /etc/crypttab: sudo bash -c 'echo "mytest /dev/disk/by-uuid/... - fido2-device=auto" >>/etc/crypttab' diff --git a/man/tpm2-crypttab.sh b/man/tpm2-crypttab.sh index 2be349959fd..f22a0b445e4 100644 --- a/man/tpm2-crypttab.sh +++ b/man/tpm2-crypttab.sh @@ -10,7 +10,7 @@ sudo systemd-cryptsetup attach mytest /dev/sdXn - tpm2-device=auto # If that worked, let's now add the same line persistently to /etc/crypttab, # for the future. We don't want to use the (unstable) /dev/sdX name, so let's # figure out a stable link: -udevadm info -q -r symlink /dev/sdXn +udevadm info -q symlink -r /dev/sdXn # Now add the line using the by-uuid symlink to /etc/crypttab: sudo bash -c 'echo "mytest /dev/disk/by-uuid/... - tpm2-device=auto" >>/etc/crypttab' diff --git a/man/yubikey-crypttab.sh b/man/yubikey-crypttab.sh index a66a88fe1ce..00de2702e36 100644 --- a/man/yubikey-crypttab.sh +++ b/man/yubikey-crypttab.sh @@ -26,7 +26,7 @@ sudo systemd-cryptsetup attach mytest /dev/sdXn - pkcs11-uri=auto # If that worked, let's now add the same line persistently to /etc/crypttab, # for the future. We don't want to use the (unstable) /dev/sdX name, so let's # figure out a stable link: -udevadm info -q -r symlink /dev/sdXn +udevadm info -q symlink -r /dev/sdXn # Now add the line using the by-uuid symlink to /etc/crypttab: sudo bash -c 'echo "mytest /dev/disk/by-uuid/... - pkcs11-uri=auto" >>/etc/crypttab'