[NCLUG] /dev/null as a source?

Bob Proulx bob at proulx.com
Tue Jun 10 13:16:31 MDT 2008


Sean Reifschneider wrote:
> Does anyone have any thoughts about /dev/null versus /dev/unull?  I want to
> I want to get a high-performance zero source, but am concerned about the
> quality of the data from unull...

  $ ls -l /dev/unull
  ls: /dev/unull: No such file or directory

??

Perhaps you mean /dev/zero?  Which should be as fast as possible when
it exists.  HP-UX and other legacy systems for example do not provide
a /dev/zero or /dev/full but all Linux based kernels do.  Something to
keep in mind if portability is intended.

Bob



More information about the NCLUG mailing list