summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-08 02:58:33 +0100
committerRobert Günzler <r@gnzler.io>2021-11-08 02:58:33 +0100
commit20853286d2ada01579e22fc3738d86ca8351cd6b (patch)
treec8e3c5c842b06649c5e786d7f122243472ae198c
parent7ba19a8ff9987705d3aaea5f4f37818434ee1257 (diff)
bin/mnts: flatten input
Diffstat (limited to '')
-rwxr-xr-xbin/mnts2
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 |