Author Topic: Internal Flash Partition Mount Options  (Read 1744 times)

tom-c1k

  • Newbie
  • *
  • Posts: 2
    • View Profile
Internal Flash Partition Mount Options
« 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
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 )

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
Internal Flash Partition Mount Options
« Reply #1 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?
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Internal Flash Partition Mount Options
« Reply #2 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.