df -i does not work for reiserfs, at least under Debian 3.0. For example, the following partition is actually more than 10% full.
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sdb1 4294967295 0 4294967295 0% /home/archive >From responses so far, my understanding is there may be a partition-wide file counter possible in the future. However, it also sounds like there is little to no chance of a reiserfs-specific fast approximate file counter that will work on a directory subtree, even if that subtree is very wide and shallow. -Jeff On Sun, 2002-09-22 at 19:07, Chris Wedgwood wrote: > On Fri, Sep 20, 2002 at 10:36:23PM -0700, Jeff Breidenbach wrote: > > > Now that I have millions of small files on my reiserfs partition, > > I'd like to know if there is reiserfs specific way to count them > > very quickly. > > Does df -i work? > > > --cw >
