<?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: directory size ..problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909010#M933095</link>
    <description>Hi Patrick,&lt;BR /&gt;in addition to what has already been said: directory files themselves contain information about the names of the files residing in the directory and their inode reference in the filesystem. In order for the directory files to keep this information neat and orderly, the directory has a certain "structure"; at least it has  more "structure" than other files in the unix file system. Because of this "structure" the size of a directory is fairly fixed,  e.g. 96, 512, 1024 bytes or more.&lt;BR /&gt;If you put a lot of files in a directory, you  can see how the directory file itself  suddenly grows - assuming that you put enough files into the directory. If you  afterwards delete the same files from the directory, you will se that the size of the directory itself does not shrink, but that is another story.&lt;BR /&gt;  &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
    <pubDate>Thu, 20 Feb 2003 12:13:58 GMT</pubDate>
    <dc:creator>john korterman</dc:creator>
    <dc:date>2003-02-20T12:13:58Z</dc:date>
    <item>
      <title>directory size ..problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909006#M933091</link>
      <description>hi, all&lt;BR /&gt;&lt;BR /&gt;I am wondering about directory size on HP-UX 11.X&lt;BR /&gt;&lt;BR /&gt;when i was excuting "ll" command in my root file system, all Directory size are dedicated "1024" .&lt;BR /&gt;&lt;BR /&gt;also , excuted "du -sk /dir1 and /dir2" on my root file system but, size are different exactly..&lt;BR /&gt;&lt;BR /&gt;what happened?? &lt;BR /&gt;&lt;BR /&gt;please tell me the reason so quickly, my client are complaining to me..oops!!</description>
      <pubDate>Thu, 20 Feb 2003 10:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909006#M933091</guid>
      <dc:creator>KCS_1</dc:creator>
      <dc:date>2003-02-20T10:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: directory size ..problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909007#M933092</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;have a look at Bill Hassel's comment on this post:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb20b5bd3782dd711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb20b5bd3782dd711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;Rrgards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Thu, 20 Feb 2003 10:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909007#M933092</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-02-20T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: directory size ..problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909008#M933093</link>
      <description>You are no comparing like for like.&lt;BR /&gt;&lt;BR /&gt;When you are in / and do an ls -l the directory size you see of 1024 (bytes) is just for the directory entries themselves (ie. the table of contents for the directory), only du -sk &lt;DIR&gt; reports the size of the directory (all files and dirs below it).&lt;BR /&gt;&lt;BR /&gt;ie. Do a bdf command and you will see /var is something like several hundred MB in size, and if you do a du -sk /var it will also report a similar size (hundreds of MB), but in / an ls -l only shows the directory entry for var being 1024 bytes.&lt;/DIR&gt;</description>
      <pubDate>Thu, 20 Feb 2003 10:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909008#M933093</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-02-20T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: directory size ..problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909009#M933094</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On BSD systems, du reports sizes that are half the correct values for files that are NFS-mounted from HP-UX systems. On HP-UX systems, it reports sizes that are twice the correct values for files that are NFS-mounted from BSD systems. This is due to a flaw in HP-UX; it also affects the HP-UX du program. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Feb 2003 10:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909009#M933094</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-02-20T10:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: directory size ..problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909010#M933095</link>
      <description>Hi Patrick,&lt;BR /&gt;in addition to what has already been said: directory files themselves contain information about the names of the files residing in the directory and their inode reference in the filesystem. In order for the directory files to keep this information neat and orderly, the directory has a certain "structure"; at least it has  more "structure" than other files in the unix file system. Because of this "structure" the size of a directory is fairly fixed,  e.g. 96, 512, 1024 bytes or more.&lt;BR /&gt;If you put a lot of files in a directory, you  can see how the directory file itself  suddenly grows - assuming that you put enough files into the directory. If you  afterwards delete the same files from the directory, you will se that the size of the directory itself does not shrink, but that is another story.&lt;BR /&gt;  &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Thu, 20 Feb 2003 12:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directory-size-problem/m-p/2909010#M933095</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-02-20T12:13:58Z</dc:date>
    </item>
  </channel>
</rss>

