ramfs always reports filesize in blocks to be 0

From: Oleg Drokin (green@ixcelerator.com)
Date: Thu Nov 16 2000 - 12:29:26 EST


Hello!

   Subject says it all, inode->i_blocks always 0, in ramfs, and never updated
   (the only updated thing is inode->i_size).
   This breaks at least du(1). Ain't it should count blocks too, so that one
   can find how much ramfs is consuming in terms of memory by simply issuing
   du -ks ramfs_mount_point

Bye,
    Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:10 EST