lkml.org 
[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectramfs 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/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.020 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site