public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* will jffs2 write to device when doing "read-only" operation like "ls"?
@ 2002-08-08  4:37 ??
  2002-08-08  4:46 ` Allen Curtis
  2002-08-08  7:17 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: ?? @ 2002-08-08  4:37 UTC (permalink / raw)
  To: linux-mtd

dear all,

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.......

if the answer is yes, is it possible to impore/modify it?

thanks in advanced!:)

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

* RE: will jffs2 write to device when doing "read-only" operation like "ls"?
  2002-08-08  4:37 will jffs2 write to device when doing "read-only" operation like "ls"? ??
@ 2002-08-08  4:46 ` Allen Curtis
  2002-08-08  7:17 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Allen Curtis @ 2002-08-08  4:46 UTC (permalink / raw)
  To: ??, linux-mtd

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

To my knowledge NO. JFFS and JFFS2 work just fine with read-only devices so
I assume that writing for no reason is not necessary.

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

* Re: will jffs2 write to device when doing "read-only" operation like "ls"?
  2002-08-08  4:37 will jffs2 write to device when doing "read-only" operation like "ls"? ??
  2002-08-08  4:46 ` Allen Curtis
@ 2002-08-08  7:17 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2002-08-08  7:17 UTC (permalink / raw)
  To: ??; +Cc: linux-mtd


kevin@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

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

end of thread, other threads:[~2002-08-08  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-08  4:37 will jffs2 write to device when doing "read-only" operation like "ls"? ??
2002-08-08  4:46 ` Allen Curtis
2002-08-08  7:17 ` David Woodhouse

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