Why Nostr? What is Njump?
2024-07-25 12:23:25

cat://Katze :verified_agender: on Nostr: Okay, so this is probably not 100% stable across all devices, and I'm sure there must ...

Okay, so this is probably not 100% stable across all devices, and I'm sure there must be an easier way than this, but if you ever need a list of all the disks that are not partitions on your Linux box, this should work:

find /dev/disk/by-path -mindepth 1 -maxdepth 1 -not -name '*part[0-9]' -not -name '*.[0-9]' -exec readlink -f {} +
Author Public Key
npub15sv7ytm544rp85m5mfhrwjdhxpy6pm57mfr0jlws4fasw0ah7mrsh7g3vh