Author Topic: Fsck For Jffs2 - Some New Points  (Read 10002 times)

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Fsck For Jffs2 - Some New Points
« Reply #15 on: August 24, 2006, 09:31:09 pm »
Quote
Quote
It also mentioned that mounting root as readonly before shutdown will force the write. I don't know if these are all properly setup in pdaXrom beta3 for C1000 release.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139621\"][{POST_SNAPBACK}][/a][/div]
Many (most?) Linux systems do this, so it seems like the best way. Interestingly enough though, /etc/rc.d/init.d/halt appears remount every filesystem except jffs2 (and swap/proc etc)...

(I have an SL6000, not a C1000, but I would have thought this stuff is the same)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139682\"][{POST_SNAPBACK}][/a][/div]

Do you mean I can fix this by adding the line for remounting JFFS2 in the script?
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Fsck For Jffs2 - Some New Points
« Reply #16 on: August 24, 2006, 09:55:44 pm »
Quote
Quote
Quote
It also mentioned that mounting root as readonly before shutdown will force the write. I don't know if these are all properly setup in pdaXrom beta3 for C1000 release.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139621\"][{POST_SNAPBACK}][/a][/div]
Many (most?) Linux systems do this, so it seems like the best way. Interestingly enough though, /etc/rc.d/init.d/halt appears remount every filesystem except jffs2 (and swap/proc etc)...

(I have an SL6000, not a C1000, but I would have thought this stuff is the same)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139682\"][{POST_SNAPBACK}][/a][/div]

Do you mean I can fix this by adding the line for remounting JFFS2 in the script?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139726\"][{POST_SNAPBACK}][/a][/div]

actually, it remounts / as ro which is the jffs2 partition
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Fsck For Jffs2 - Some New Points
« Reply #17 on: August 24, 2006, 10:29:42 pm »
Quote
Quote
Quote
Quote
It also mentioned that mounting root as readonly before shutdown will force the write. I don't know if these are all properly setup in pdaXrom beta3 for C1000 release.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139621\"][{POST_SNAPBACK}][/a][/div]
Many (most?) Linux systems do this, so it seems like the best way. Interestingly enough though, /etc/rc.d/init.d/halt appears remount every filesystem except jffs2 (and swap/proc etc)...

(I have an SL6000, not a C1000, but I would have thought this stuff is the same)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139682\"][{POST_SNAPBACK}][/a][/div]

Do you mean I can fix this by adding the line for remounting JFFS2 in the script?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139726\"][{POST_SNAPBACK}][/a][/div]

actually, it remounts / as ro which is the jffs2 partition
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139727\"][{POST_SNAPBACK}][/a][/div]
Does it? The version of the script on my zaurus only (it appears) does the following:

a ) turn off swap
b ) 3 attempts at unmounting network filesystems
c ) remounts (specifically only) ext2,ext3,minix,vfat and reiserfs filesystems as read-only

It doesn't look like it does anything with the jffs2 partition... (I don't know a lot about jffs2, so here is where you tell me I'm wrong   )
SL6000-L, RC12