How can I replace /dev/zero or /dev/urandom? I'd like to zero out the freespace of a headless server that doesn't have either /dev/zero or /dev/urandom (or /dev/random) nor does this machine have access to the internet. Is it possible to scp a special file like /dev/zero?
migrated from stackoverflow.com Nov 28 '12 at 19:04
This question came from our site for professional and enthusiast programmers.
Special files like devices can be stored in tar files.
It is also possible to use the
For example, on my system:
would work on my system.
The numbers (major/minor ID) might be subject to change, however.