TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

101 pointsby mfiguiere11 days ago

5 comments

jayofdoom11 days ago
I&#x27;ll note, lsblk <i>can</i> 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.<p>I guess with this in mind, I&#x27;m curious how this is different?
评论 #43941177 未加载
DonHopkins11 days ago
I always wanted the &#x2F;dev&#x2F;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:<p>mknod &#x2F;dev&#x2F;seven c 1 7<p>I wonder what would happen if you made a &#x2F;dev&#x2F;seven device in your http servers public_html directory? Would it dutifully serve it up?<p>Better yet, support for utf-8 unicode, so you can make an infinite source of poo emojis.<p>The &quot;Everything Is A File&quot; philosophy should be taken to its logical conclusion.
评论 #43942007 未加载
评论 #43942216 未加载
bitbang11 days ago
Very nice, needs option for json&#x2F;jsonl output.
评论 #43940289 未加载
trillic11 days ago
Rewrote most of the functionality in C as an exercise<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;grahameger&#x2F;2507019334f07036f84080a87684f4b3" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;grahameger&#x2F;2507019334f07036f84080a87...</a>
babuloseo11 days ago
can we package this for Arch? Arch Defense Taskforce where you at?
评论 #43941184 未加载
评论 #43940707 未加载