I've had my laptop's / on jfs for a while now.

I notice that many directories become excessively large after
some use.  As an example:

,----[ ls -lsd /etc /tmp ]
|   468 drwxr-xr-x 297 root root   430080 Mar 19 17:12 /etc
| 50016 drwxrwxrwt 122 root root 50872320 Mar 19 17:40 /tmp
`----

Compare that with:

,----[ /bin/ls /etc | wc -l ]
| 607
`----
,----[ /bin/ls /tmp | wc -l ]
| 1251
`----

This happens with any dir that has overturn.

Rsync(1)ing the dir creates a new one that is much smaller.  In the
case of /etc it ended up taking only two fs blocks:

,----[ ls -lsd /BAK/etc ]
| 36 drwxr-xr-x 99 root root 8192 Mar 19 17:48 /ETC/etc
`----

I presume it has something to do with extents?  

Is there any way to prevent this growth?

-JimC
-- 
James Cloos <[EMAIL PROTECTED]>         OpenPGP: 1024D/ED7DAEA6

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to