]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix args order for udevadm info cmd
authorMatthias Lisin <6209465+ml-@users.noreply.github.com>
Wed, 16 Oct 2024 05:02:21 +0000 (07:02 +0200)
committerMatthias Lisin <6209465+ml-@users.noreply.github.com>
Thu, 19 Dec 2024 11:39:31 +0000 (12:39 +0100)
TODO
man/fido2-crypttab.sh
man/tpm2-crypttab.sh
man/yubikey-crypttab.sh

diff --git a/TODO b/TODO
index 91127eff94331e3d083acfaa445e0dc4aa3cc2d0..3fad822bc665a243787b96d04870da2d389cec9e 100644 (file)
--- 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,
index 43654a523644ae58d84e76febc1fa96d7a2da5c3..d1c31e3e8ce0ca35599577944f0984048841fac2 100644 (file)
@@ -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'
index 2be349959fd8b7daf51448544f12b3833fa6caf9..f22a0b445e4b48a431a9b6e1d4fd917334af24d4 100644 (file)
@@ -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'
index a66a88fe1ce3bd9864c72ea9b3633f087b7b2226..00de2702e3619a54eb9c8425b7d412d352517235 100644 (file)
@@ -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'