Quantcast
Channel: overwrite /dev/null with file - Super User
Browsing latest articles
Browse All 3 View Live

Answer by Paul Tomblin for overwrite /dev/null with file

Once /dev/null has been clobbered once, any attempt to write to it will replace it with a file. You have to recreate it using mknod.Ok, I take that back - Debian stable uses udev, so you can recreate...

View Article


Answer by Jo Liss for overwrite /dev/null with file

My guess is that some script running with root rights is moving its output into place. So it does something like... write data ... > /tmp/foo.$$.tmpmv /tmp/foo.$$.tmp "$DEST" # where "$DEST" is...

View Article

overwrite /dev/null with file

On Debian stable, python 2.6.4I have a script that overwrites /dev/null.Any idea as to what could be happening?The only thing I have is a typical cron job that redirects output to /dev/null, but that...

View Article
Browsing latest articles
Browse All 3 View Live