Messages in this thread |  | | Date | Thu, 16 Nov 2000 20:29:26 +0300 | From | Oleg Drokin <> | Subject | ramfs always reports filesize in blocks to be 0 |
| |
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/
|  |