Web lists-archives.com

Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file




On Sunday, April 07, 2019 04:22:41 PM Reco wrote:
> On Sun, Apr 07, 2019 at 10:10:58PM +0200, Carles Pina i Estany wrote:

> > In my SSDs I have:
> > /sys/fs/ext4/dm-0/lifetime_write_kbytes
> > 
> > I'm not sure if this is specific for SSD?
> 
> No, it's not. It's filesystem-specific though.
> Meaning - you have to use ext4 to see this attribute, but the device
> where the ext4 filesystem resides does not matter.

Well, to clarify, if you have multiple ext4  filesystems, does that represent 
the sum of lifetime_write_kbytes of all of those filesystems?  

(And,iiuc, any ext2 (or others) are not included in that sum.)