I think that get direct directory size int the xfs file system

lihongliang at sobey.com lihongliang at sobey.com
Mon Jan 26 03:07:37 CST 2015


Hello
        Can get direct directory size int the XFS file system?
example:
 root at ficsNode1 test1]# mount | grep xfs 
/dev/sdc on /xfs type xfs (rw,uquota) 
[root at ficsNode1 test1]# pwd 
/xfs/test1 
[root at ficsNode1 test1]# ls -lh 
total 5M 
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block1 
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block2 
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block3 
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block4 
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block5 
[root at ficsNode1 test1]#  

   can I get direct it  by call system function the that the /xfs/test1 is 5M?


lihongliang at sobey.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20150126/24d40afc/attachment.html>


More information about the xfs mailing list