public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ramfs always reports filesize in blocks to be 0
@ 2000-11-16 17:29 Oleg Drokin
  0 siblings, 0 replies; only message in thread
From: Oleg Drokin @ 2000-11-16 17:29 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-16 18:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-16 17:29 ramfs always reports filesize in blocks to be 0 Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox