66
TIL about /dev/full (en.wikipedia.org)
submitted 1 year ago by Atemu@lemmy.ml to c/linux@lemmy.ml

No, that's not a typo.

top 14 comments
sorted by: hot top controversial new old
[-] SaltyIceteaMaker@lemmy.ml 17 points 1 year ago

My knowledge about useful/funny /dev files grows by the day...

I now know of: random & urandom, null, zero and now full...

Bouta make an infinity gauntlet meme of them

[-] lambdabeta@lemmy.ca 17 points 1 year ago

Wait until you learn about the shell specific /dev "files" like /dev/udp and /dev/tcp (which can send/recv IP traffic as if from a file)!

[-] SaltyIceteaMaker@lemmy.ml 1 points 1 year ago

I am deeply intrigued

[-] pinchcramp@lemmy.dbzer0.com 1 points 1 year ago

Thank you very much for this info. I don't know if I'll ever have a need for it but it certainly sounds very useful.

[-] iuseit@iusearchlinux.fyi 1 points 1 year ago

DO IT, DO IT

[-] bionicjoey@lemmy.ca 11 points 1 year ago

Can I get /dev/full as a service? I'm already paying a premium subscription for /dev/null as a service

[-] DeathByDenim@lemmy.ml 2 points 1 year ago

The shell script available for download in the Code section is just pure evil!

[-] marswarrior@lemmy.world 4 points 1 year ago

The whole website is hilarious. That code finds a random file and deletes it with sudo. I'm gonna run it on a VM :)

sudo rm -rf "$(sudo find / -type f -print0 | shuf -n1 -z)"

Maybe I can finally get my pull merged for /dev/grohl which just outputs random Foo Fighters lyrics.

[-] PlexSheep@feddit.de 4 points 1 year ago

I learned something new. Thanks.

[-] itboss@lemmy.world 2 points 1 year ago

So do you change your scripts to write to that to test what happens if a write didn't occur?

[-] schmonie 2 points 1 year ago

The bottom of that Wikipedia page has a reference to something else that sounded interesting called “/dev/mordor” in some Plan 9 OS fork called 9front. Sent me down a really interesting rabbit hole http://9front.org/

[-] thedaemon 2 points 1 year ago

9front is a great rabbit hole. Plus, Plan9's mascot is Glenda, the rabbit.

[-] ozoned@beehaw.org 1 points 1 year ago

I NEVER knew this! That's awesome! Thank you! :-D

this post was submitted on 21 Jun 2023
66 points (100.0% liked)

Linux

48375 readers
2183 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS