Skip to content Skip to footer
0 items - $0.00 0

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

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

5 Comments

  • Post Author
    DonHopkins
    Posted May 9, 2025 at 7:32 pm

    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.

  • Post Author
    bitbang
    Posted May 9, 2025 at 7:35 pm

    Very nice, needs option for json/jsonl output.

  • Post Author
    babuloseo
    Posted May 9, 2025 at 8:11 pm

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

  • Post Author
    jayofdoom
    Posted May 9, 2025 at 9:12 pm

    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?

  • Post Author
    trillic
    Posted May 9, 2025 at 11:12 pm

    Rewrote most of the functionality in C as an exercise

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

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.