New Tool: lsds – List All Linux Block Devices and Settings in One Place

tanelpoder.com

100 points by mfiguiere 4 days ago


jayofdoom - 4 days ago

I'll note, lsblk can return a heck of a lot more data than it does by default (and nvme drives show up there). lsblk -H will list for your system, and you can specify columns. You can also adjust output.

I guess with this in mind, I'm curious how this is different?

DonHopkins - 4 days ago

I always wanted the /dev/zero character device driver, which you can map into memory to clear it, or use as an infinite source of nulls, to use the minor node number as the value that got mapped into memory or produced, so you could make an infinite source of beeps with:

mknod /dev/seven c 1 7

I wonder what would happen if you made a /dev/seven device in your http servers public_html directory? Would it dutifully serve it up?

Better yet, support for utf-8 unicode, so you can make an infinite source of poo emojis.

The "Everything Is A File" philosophy should be taken to its logical conclusion.

bitbang - 4 days ago

Very nice, needs option for json/jsonl output.

trillic - 4 days ago

Rewrote most of the functionality in C as an exercise

https://gist.github.com/grahameger/2507019334f07036f84080a87...

babuloseo - 4 days ago

can we package this for Arch? Arch Defense Taskforce where you at?