From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id D7B907FCC for ; Mon, 26 Jan 2015 03:08:06 -0600 (CST) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id A9663304043 for ; Mon, 26 Jan 2015 01:08:03 -0800 (PST) Received: from exchange01.SOBEY.COM ([61.139.78.4]) by cuda.sgi.com with ESMTP id cWO9rqQBrVoxnyUE (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 26 Jan 2015 01:07:59 -0800 (PST) Date: Mon, 26 Jan 2015 17:07:37 +0800 From: "lihongliang@sobey.com" Subject: I think that get direct directory size int the xfs file system MIME-Version: 1.0 Message-ID: <201501261707321631278@sobey.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2455807887705805592==" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs --===============2455807887705805592== Content-Type: multipart/alternative; boundary="----=_001_NextPart588647845785_=----" ------=_001_NextPart588647845785_=---- Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 SGVsbG8NCiAgICAgICAgQ2FuIGdldCBkaXJlY3QgZGlyZWN0b3J5IHNpemUgaW50IHRoZSBYRlMg ZmlsZSBzeXN0ZW0/DQpleGFtcGxlo7oNCiByb290QGZpY3NOb2RlMSB0ZXN0MV0jIG1vdW50IHwg Z3JlcCB4ZnMgDQovZGV2L3NkYyBvbiAveGZzIHR5cGUgeGZzIChydyx1cXVvdGEpIA0KW3Jvb3RA Zmljc05vZGUxIHRlc3QxXSMgcHdkIA0KL3hmcy90ZXN0MSANCltyb290QGZpY3NOb2RlMSB0ZXN0 MV0jIGxzIC1saCANCnRvdGFsIDVNIA0KLXJ3LXItLXItLSAxIHJvb3Qgcm9vdCAxLjBNIEphbiAy NiAwOTozMyBibG9jazEgDQotcnctci0tci0tIDEgcm9vdCByb290IDEuME0gSmFuIDI2IDA5OjMz IGJsb2NrMiANCi1ydy1yLS1yLS0gMSByb290IHJvb3QgMS4wTSBKYW4gMjYgMDk6MzMgYmxvY2sz IA0KLXJ3LXItLXItLSAxIHJvb3Qgcm9vdCAxLjBNIEphbiAyNiAwOTozMyBibG9jazQgDQotcnct ci0tci0tIDEgcm9vdCByb290IDEuME0gSmFuIDI2IDA5OjMzIGJsb2NrNSANCltyb290QGZpY3NO b2RlMSB0ZXN0MV0jICANCg0KICAgY2FuIEkgZ2V0IGRpcmVjdCBpdCAgYnkgY2FsbCBzeXN0ZW0g ZnVuY3Rpb24gdGhlIHRoYXQgdGhlIC94ZnMvdGVzdDEgaXMgNU0/DQoNCg0KbGlob25nbGlhbmdA c29iZXkuY29tDQo= ------=_001_NextPart588647845785_=---- Content-Type: text/html; charset="GB2312" Content-Transfer-Encoding: quoted-printable =0A
Hello
        Can get direct directory size int= the XFS file system?
example=A3=BA
 root@ficsNode1 test1]# mount | grep xfs&nb= sp;
/dev/s= dc on /xfs type xfs (rw,uquota)=0A
[root@ficsNode1 test1]# pwd =0A
/= xfs/test1=0A
[root@ficsNode1 test1]# ls -lh=0A
total 5M=0A
-rw-r-= -r-- 1 root root 1.0M Jan 26 09:33 block1=0A
-rw-r--r-- 1 root root 1.0= M Jan 26 09:33 block2=0A
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block= 3=0A
-rw-r--r-- 1 root root 1.0M Jan 26 09:33 block4=0A
-rw-r--r-- 1= root root 1.0M Jan 26 09:33 block5=0A
[root@ficsNode1 test1]# =0A

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

=0A<= div>
lihongliang@sobey.com
=0A ------=_001_NextPart588647845785_=------ --===============2455807887705805592== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs --===============2455807887705805592==--