All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: Ragnar Kj?rstad <reiserfs@ragnark.vestdata.no>
Cc: Jeff Breidenbach <jeff@jab.org>, reiserfs-list@namesys.com
Subject: Re: fast approximate file count
Date: Sun, 22 Sep 2002 14:36:12 +0400	[thread overview]
Message-ID: <20020922143612.A22422@namesys.com> (raw)
In-Reply-To: <20020922054309.V8204@vestdata.no>

Hello!

On Sun, Sep 22, 2002 at 05:43:09AM +0200, Ragnar Kj?rstad wrote:
> > If you never/very seldom delete files,
> > you can create new file (any size), execute ls -i on it, like this:
> >  549661 z
> > This number is OID, oid grows up in case that there were no deletions/gaps
> > from previous deletions in OID.
> > OID is total number of objects on FS in this case.
> Hmm, why doesn't statfs return the correct number of inodes in use? I
> think that's what you would want to use here.

Well, something like that can be done even now, I'll think about it tomorrow.

Bye,
    Oleg

  parent reply	other threads:[~2002-09-22 10:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21  5:36 fast approximate file count Jeff Breidenbach
2002-09-21 20:35 ` Oleg Drokin
     [not found]   ` <20020922054309.V8204@vestdata.no>
2002-09-22 10:36     ` Oleg Drokin [this message]
     [not found] ` <20020923020703.GA4570@tapu.f00f.org>
2002-09-23  2:30   ` Jeff Breidenbach
2002-09-23 13:07     ` Chris Mason

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=20020922143612.A22422@namesys.com \
    --to=green@namesys.com \
    --cc=jeff@jab.org \
    --cc=reiserfs-list@namesys.com \
    --cc=reiserfs@ragnark.vestdata.no \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.