<?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 Block or Network file? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537230#M900010</link>
    <description>Basically, why do :&lt;BR /&gt;&lt;BR /&gt;[[ -b /dev/vg00/lvol1 ]] &amp;amp;&amp;amp; echo yes || echo no&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;[[ -n /dev/vg00/lvol1 ]] &amp;amp;&amp;amp; echo yes || echo no&lt;BR /&gt;&lt;BR /&gt;both return yes?&lt;BR /&gt;&lt;BR /&gt;Why is KSH treating the device file as both a Block file (expected) and a Network file (unexpected)? This happen under HPUX 10.20 and 11.&lt;BR /&gt;&lt;BR /&gt;Cheers in advance,&lt;BR /&gt;Robin&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Jun 2001 15:28:15 GMT</pubDate>
    <dc:creator>Robin Abecasis</dc:creator>
    <dc:date>2001-06-06T15:28:15Z</dc:date>
    <item>
      <title>Block or Network file?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537230#M900010</link>
      <description>Basically, why do :&lt;BR /&gt;&lt;BR /&gt;[[ -b /dev/vg00/lvol1 ]] &amp;amp;&amp;amp; echo yes || echo no&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;[[ -n /dev/vg00/lvol1 ]] &amp;amp;&amp;amp; echo yes || echo no&lt;BR /&gt;&lt;BR /&gt;both return yes?&lt;BR /&gt;&lt;BR /&gt;Why is KSH treating the device file as both a Block file (expected) and a Network file (unexpected)? This happen under HPUX 10.20 and 11.&lt;BR /&gt;&lt;BR /&gt;Cheers in advance,&lt;BR /&gt;Robin&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2001 15:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537230#M900010</guid>
      <dc:creator>Robin Abecasis</dc:creator>
      <dc:date>2001-06-06T15:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Block or Network file?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537231#M900011</link>
      <description>Hi Robin:&lt;BR /&gt;&lt;BR /&gt;The 'n' option of 'test' tests for a non-zero string length.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 06 Jun 2001 15:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537231#M900011</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-06T15:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Block or Network file?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537232#M900012</link>
      <description>DOh! Sorry for such a silly question! I somehow got it into my head that the '-n' was for checking whether the file was a 'network special file' as described by ls. :-|&lt;BR /&gt;&lt;BR /&gt;Robin&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2001 15:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-or-network-file/m-p/2537232#M900012</guid>
      <dc:creator>Robin Abecasis</dc:creator>
      <dc:date>2001-06-06T15:42:54Z</dc:date>
    </item>
  </channel>
</rss>

