:: Re: [DNG] trash
Pàgina inicial
Delete this message
Reply to this message
Autor: Rick Moen
Data:  
A: dng
Assumpte: Re: [DNG] trash
Quoting Renaud OLGIATI (renaud@???):

> Or ln to /dev/null


I thought about that. cp or mv to /dev/null (as opposed to the ordinary
cat or redirection to /dev/null) is IMO at best a bad habit, because one
day you'll thoughtlessly do it with superuser authority, thereby
overwriting the device node, creating some hilariously mysterious, but
severe, system breakage.

(These days with udev and workalikes thinking you're not allowed to
manage /dev, it's possible this specific form of damage isn't allowed
either, but it used to be one of the more perplexing ways to cripple a
Linux system, and perhaps still is.)

https://serverfault.com/questions/551628/dev-null-file-became-regular-file