diff options
| author | Robert Günzler <r@gnzler.io> | 2021-11-08 02:58:33 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-11-08 02:58:33 +0100 |
| commit | 20853286d2ada01579e22fc3738d86ca8351cd6b (patch) | |
| tree | c8e3c5c842b06649c5e786d7f122243472ae198c | |
| parent | 7ba19a8ff9987705d3aaea5f4f37818434ee1257 (diff) | |
bin/mnts: flatten input
| -rwxr-xr-x | bin/mnts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mnts b/bin/mnts index cbf534c..a7ad5c0 100755 --- a/bin/mnts +++ b/bin/mnts @@ -48,7 +48,7 @@ handle() { done } -lsblk -fJ | +lsblk -flJ | jq -r '.. | select(.uuid?!="" and .name?) | select((.name | test("hibiki|nvme") | not) and .fstype?) | [ .name, .label, .mountpoints[0] // "" ] | @tsv' | awk -F'\t' '{printf "/dev/%-10s\t%-15s\t%s\n", $1, $2, $3;}' | menu --list=8 | |