public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Determining actual flash usage of a particular file
@ 2004-11-18 20:15 419cf994
  2004-11-18 20:44 ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: 419cf994 @ 2004-11-18 20:15 UTC (permalink / raw)
  To: linux-mtd


I've been reading through the archives for several days, so I hope I 
haven't missed an answer somewhere.

Is there a way to determine the actual flash space occupied by a 
particular file on a JFFS2 partition?  'ls' and 'du' report number of 
bytes of the content of the file, but of course compression and other 
factors affect that greatly.

My definition of actual space is flexible...  could be number of blocks or 
pages occupied, or something similar.  I just need a metric that's more 
closely related to storage space than uncompressed size.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-19  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 20:15 Determining actual flash usage of a particular file 419cf994
2004-11-18 20:44 ` Josh Boyer
2004-11-19  9:19   ` Artem B. Bityuckiy
2004-11-19  9:31     ` David Woodhouse

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