public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "lihongliang@sobey.com" <lihongliang@sobey.com>
To: xfs <xfs@oss.sgi.com>
Subject: I think that get direct directory size int the xfs file system
Date: Mon, 26 Jan 2015 17:07:37 +0800	[thread overview]
Message-ID: <201501261707321631278@sobey.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 638 bytes --]

Hello
        Can get direct directory size int the XFS file system?
example:
 root@ficsNode1 test1]# mount | grep xfs 
/dev/sdc on /xfs type xfs (rw,uquota) 
[root@ficsNode1 test1]# pwd 
/xfs/test1 
[root@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@ficsNode1 test1]#  

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


lihongliang@sobey.com

[-- Attachment #1.2: Type: text/html, Size: 1711 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2015-01-26  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26  9:07 lihongliang [this message]
2015-01-27 12:44 ` I think that get direct directory size int the xfs file system Brian Foster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201501261707321631278@sobey.com \
    --to=lihongliang@sobey.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox