OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: tom-c1k on November 02, 2005, 09:04:01 am

Title: Internal Flash Partition Mount Options
Post by: tom-c1k on November 02, 2005, 09:04:01 am
Hello pdaXrom Team,

I checked the mount options for my CF&SD-Cards and added a "noatime" option for it.
I use ext2 for all and would not allow more writes to safe life time of the units.
Then i checked jffs2 which is used for the root system and for /home on the internal flash memory chips.
On http://www.ssiembedded.com/embedded_linux_...ing_memory.html (http://www.ssiembedded.com/embedded_linux_managing_memory.html)
they say "noatime" is a usefull option here too, to reduce the count of writes with unnecessary updates of the access time attribute of files.
But, to append this option to the root fs, there must be set a kernel option or a mount/remount be done.
My question now: Did you know about this ? How can we give the "noatime" to all internal flash partitions.
Cause without this i see the danger of rapidly aged internal flash !
Many Files are opened when booting or startx and every access time is updated !

Thanks
  Thomas
 
( New C1000 User, pdaXrom rc12 )
Title: Internal Flash Partition Mount Options
Post by: clofland on November 02, 2005, 10:17:57 am
I think if you edit /etc/fstab you can put "noatime" on the / file system. Of course, that is after boot I guess.

You actually have to edit /etc/sdcontrol to get "noatime" on the SD card I think. That is what I had to do.

I too have wondered the same thing. On the Cacko ROM, EVERYTHING is mounted "noatime" for just this reason.

Is there a reason why pdaXrom is not the same way?
Title: Internal Flash Partition Mount Options
Post by: gromituk on November 02, 2005, 10:26:47 am
I guess the only reason is that no-one's pointed it out before.  Well spotted, Thomas.