will jffs2 write to device when doing "read-only" operation like "ls"?

David Woodhouse dwmw2 at infradead.org
Thu Aug 8 03:17:46 EDT 2002


kevin at gv.com.tw said:
> will jffs2 write to device when doing "read-only" operation like "ls"?
> for example, if you do a "ls -lR" then a fs like ext2/minix will write
> stuff to block device (because of put_inode operation),thus might
> reduce life of nand flash....... 

Normal file systems write because they have to update the 'atime' (access 
time) field whenever an inode is read. Very few applications actually care 
about a correct atime, and JFFS2 does not implement atime.

--
dwmw2






More information about the linux-mtd mailing list