<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: what is the /dev/zero at all? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945669#M4167</link>
    <description>What's been said so far is right on the money.&lt;BR /&gt;&lt;BR /&gt;Some classic examples of what they are used for:&lt;BR /&gt;&lt;BR /&gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;some.application 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;To redirect errors to the bit-bucket, so you don't see them on the screen.&lt;BR /&gt;&lt;BR /&gt;/dev/zero&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=some.file bs=1024b count=1024&lt;BR /&gt;&lt;BR /&gt;Create a completely empty 1MB file.  Creating test files to do work on is not all that unusual.  Some times people use this to check if their file-system can create large-files (greater than 2GB).&lt;BR /&gt;&lt;BR /&gt;It can also be used to clean a disk (whether it be a floppy or a hard-disk) as mentioned in an earlier post.&lt;BR /&gt;&lt;BR /&gt;anyway..  hope this clears things up a bit.</description>
    <pubDate>Wed, 09 Apr 2003 00:22:49 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2003-04-09T00:22:49Z</dc:date>
    <item>
      <title>what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945664#M4162</link>
      <description>thanks, i do not know what it is.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Frederick</description>
      <pubDate>Tue, 08 Apr 2003 05:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945664#M4162</guid>
      <dc:creator>frederick van tagero</dc:creator>
      <dc:date>2003-04-08T05:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945665#M4163</link>
      <description>man zero.&lt;BR /&gt;&lt;BR /&gt;it is the same as /dev/null.&lt;BR /&gt;&lt;BR /&gt;++++++++++++++++++++++++++++++&lt;BR /&gt;DESCRIPTION&lt;BR /&gt;       Data written on a null or zero special file is discarded.&lt;BR /&gt;&lt;BR /&gt;       Reads  from  the  null  special file always return end of file, whereas&lt;BR /&gt;       reads from zero always return \0 characters.&lt;BR /&gt;&lt;BR /&gt;       null and zero are typically created by:&lt;BR /&gt;&lt;BR /&gt;              mknod -m 666 /dev/null c 1 3&lt;BR /&gt;              mknod -m 666 /dev/zero c 1 5&lt;BR /&gt;              chown root:mem /dev/null /dev/zero&lt;BR /&gt;&lt;BR /&gt;NOTES&lt;BR /&gt;       If these devices are not writable and readable for all users, many pro-&lt;BR /&gt;       grams will act strange.&lt;BR /&gt;++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;-balaji (and i love answering ur questions. for i get easy bunnies)</description>
      <pubDate>Tue, 08 Apr 2003 05:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945665#M4163</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-08T05:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945666#M4164</link>
      <description>a small correction. they are similar files rather than telling the same.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Tue, 08 Apr 2003 05:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945666#M4164</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-08T05:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945667#M4165</link>
      <description>/dev/zero is used to sanitize your disk.  If you are returning leased equipment or even throwing away a computer then some people worry about an invasion of privacy from scavengers who pull confidential information off of these disks.&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero if=/dev/dsk/cXtYdZ bs=32</description>
      <pubDate>Tue, 08 Apr 2003 12:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945667#M4165</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-08T12:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945668#M4166</link>
      <description>Think of /dev/null as a "black hole". It is the nearest equivalent to a write-only file. Everything written to it disappears forever. Attempts to read or output from it result in nothing. Nevertheless, /dev/null can be quite useful from both the command line and in scripts.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Tue, 08 Apr 2003 13:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945668#M4166</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-04-08T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945669#M4167</link>
      <description>What's been said so far is right on the money.&lt;BR /&gt;&lt;BR /&gt;Some classic examples of what they are used for:&lt;BR /&gt;&lt;BR /&gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;some.application 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;To redirect errors to the bit-bucket, so you don't see them on the screen.&lt;BR /&gt;&lt;BR /&gt;/dev/zero&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=some.file bs=1024b count=1024&lt;BR /&gt;&lt;BR /&gt;Create a completely empty 1MB file.  Creating test files to do work on is not all that unusual.  Some times people use this to check if their file-system can create large-files (greater than 2GB).&lt;BR /&gt;&lt;BR /&gt;It can also be used to clean a disk (whether it be a floppy or a hard-disk) as mentioned in an earlier post.&lt;BR /&gt;&lt;BR /&gt;anyway..  hope this clears things up a bit.</description>
      <pubDate>Wed, 09 Apr 2003 00:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945669#M4167</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-04-09T00:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945670#M4168</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In my opinion /dev/zero is different than /dev/nul.&lt;BR /&gt;&lt;BR /&gt;/dev/zero can produce an (virtual) endless stream of zero's, where /dev/nul is just a bitbucket.&lt;BR /&gt;&lt;BR /&gt;Greetzz&lt;BR /&gt;Donald</description>
      <pubDate>Wed, 09 Apr 2003 10:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945670#M4168</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2003-04-09T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: what is the /dev/zero at all?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945671#M4169</link>
      <description>*points to Balaji's second post* yup..</description>
      <pubDate>Wed, 09 Apr 2003 22:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-dev-zero-at-all/m-p/2945671#M4169</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-04-09T22:01:29Z</dc:date>
    </item>
  </channel>
</rss>

