<?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: /dev/null in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621138#M38733</link>
    <description>Good clarification James.&lt;BR /&gt;&lt;BR /&gt;I was thinking of a single script removing /dev/null and recreating it.  I agree that more than likely "something" is removing /dev/null and it is being recreated by another process which could indeed be (and probably is) redirecting output to /dev/null.&lt;BR /&gt;&lt;BR /&gt;Also, if /dev is owned by bin:bin with perms 555, that "something" is apparantly being done by root.  A normal user wouldn't be able to delete /dev/null.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
    <pubDate>Thu, 29 Nov 2001 14:36:29 GMT</pubDate>
    <dc:creator>Darrell Allen</dc:creator>
    <dc:date>2001-11-29T14:36:29Z</dc:date>
    <item>
      <title>/dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621132#M38727</link>
      <description>For some reason the character special file /dev/null is getting changed to &lt;BR /&gt;a regular file with 666 permission and&lt;BR /&gt;root root as user and group.&lt;BR /&gt;&lt;BR /&gt;How can I track what is changing the&lt;BR /&gt;/dev/null special file.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;steve</description>
      <pubDate>Tue, 27 Nov 2001 23:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621132#M38727</guid>
      <dc:creator>Steve_3</dc:creator>
      <dc:date>2001-11-27T23:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621133#M38728</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this is a regular occurance it could&lt;BR /&gt;be that there is a problem within a &lt;BR /&gt;script that runs from cron. Suggest you&lt;BR /&gt;have a look at unfamiliar jobs that run&lt;BR /&gt;out of cron or any other scheduling &lt;BR /&gt;package that you may have.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 27 Nov 2001 23:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621133#M38728</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-27T23:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621134#M38729</link>
      <description>Since it is getting changed to a regular file, check the time stamp and contents of the file and see when it got created/modified. Probably you can get a hint there.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 27 Nov 2001 23:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621134#M38729</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-11-27T23:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621135#M38730</link>
      <description>This can happen if you try to&lt;BR /&gt;send unwanted program output&lt;BR /&gt;to /dev/null by something&lt;BR /&gt;like&lt;BR /&gt;verbose_program 2&amp;gt;/dev/null.&lt;BR /&gt;Check your cron-scheduled jobs&lt;BR /&gt;for occurences of /dev/null.</description>
      <pubDate>Thu, 29 Nov 2001 11:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621135#M38730</guid>
      <dc:creator>Ulrich Deiters</dc:creator>
      <dc:date>2001-11-29T11:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621136#M38731</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Is the inode number getting changed (ll -i /dev/null)?  If so, then something is removing /dev/null and recreating it.  That could be done with either an rm or mv command.&lt;BR /&gt;&lt;BR /&gt;Simply redirecting stdout or stderr to /dev/null will not change it to a regular file although the date/timestamp will change.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 13:57:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621136#M38731</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T13:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621137#M38732</link>
      <description>Hi Steve:&lt;BR /&gt;&lt;BR /&gt;I agree with Darrell insofar as if /dev/null has become a regular file instead of a special one, then something has removed it.&lt;BR /&gt;&lt;BR /&gt;HOWEVER, the "something" that removes it probably isn't the same "something" that creates it.  Once removed, *any* redirection to /dev/null will result in the creation of a regular file.&lt;BR /&gt;&lt;BR /&gt;I'd start by examining scripts for '/dev/null' and/or 'rm'.&lt;BR /&gt;&lt;BR /&gt;You can automate your search by doing something like:&lt;BR /&gt;&lt;BR /&gt;# find . -type f -print |xargs grep rm /dev/null&lt;BR /&gt;&lt;BR /&gt;This will expose all files by name in the current directory with a string "rm". &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 29 Nov 2001 14:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621137#M38732</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-29T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621138#M38733</link>
      <description>Good clarification James.&lt;BR /&gt;&lt;BR /&gt;I was thinking of a single script removing /dev/null and recreating it.  I agree that more than likely "something" is removing /dev/null and it is being recreated by another process which could indeed be (and probably is) redirecting output to /dev/null.&lt;BR /&gt;&lt;BR /&gt;Also, if /dev is owned by bin:bin with perms 555, that "something" is apparantly being done by root.  A normal user wouldn't be able to delete /dev/null.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 14:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621138#M38733</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621139#M38734</link>
      <description>Thanks for all the reply.&lt;BR /&gt;This issue is resolved.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;steve</description>
      <pubDate>Thu, 29 Nov 2001 15:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-null/m-p/2621139#M38734</guid>
      <dc:creator>Steve_3</dc:creator>
      <dc:date>2001-11-29T15:25:14Z</dc:date>
    </item>
  </channel>
</rss>

