Theoretical physicists: Actually...
Theoretical physicists: Actually...
Top voted answer
“Why would you want to?”
Programmatically, what does the kernel actually do with data sent to /dev/null?
I like to imagine it’s like getting nullified in that olde show ReBoot.
I was also curious, here’s a good answer:
unix.stackexchange.com/…/how-is-dev-null-implemen…
The implementation is:
static ssize_t write_null(struct file *file, const char __user *buf, size_t count, loff_t *ppos) { return count; }/dev/null.
/dev/void 🤔
Duh, just read it back from /dev/random
You will recover the data, you just need to wait long enough.
/dev/urandom. Might take a bit longer, but it’s worth the wait 👌.
/dev/null is…
It is still on the disk though
Do people not understand how files work? Actually never mind that makes sense.
It is still on the disk though
Do people not understand how files work? Actually never mind that makes sense.
Do people not understand how files work?
Oh honey, imagine trying to tech-support a family of rednecks. Threaten to charge them for services and they’ll stop pretty quick though…