![]() |
2007-06-13
, 14:08
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
1. I have read (notably here) that one caveat of booting off mmc is the propensity for the card to be get corrupted, and that a "fsck -fy /dev/mmcblk0p2" needs to be run every now and again. If that is the case, is it a bad idea to simply run this command on every boot, especially since I hardly ever turn off/reboot the device? Will it be painfully slow? If it's not a bad idea, is there a boot script that would be an ideal place to run the command?
![]() |
2007-06-13
, 15:07
|
Posts: 50 |
Thanked: 2 times |
Joined on Jan 2007
|
#3
|
![]() |
2007-06-13
, 15:54
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#4
|
User schmots wrote in his blog (http://schmots.blogspot.com/) that running "fsck -fy" on mmcblk0p2 after booting from internal flash would clear up corruption issues. The post itself was informative to me. Is his advice atually incorrect? If so, someone should tell him.
I'll look for mkfs.jffs2 and sumtool asap! I just needed a push in the right direction. Thanks...
cd /opt /path/to/GNU/tar -zcvf /media/mmcX/mybackup.tgz .
cd /opt /path/to/GNU/tar -zxvf /media/mmcX/mybackup.tgz
1. I have read (notably here) that one caveat of booting off mmc is the propensity for the card to be get corrupted, and that a "fsck -fy /dev/mmcblk0p2" needs to be run every now and again. If that is the case, is it a bad idea to simply run this command on every boot, especially since I hardly ever turn off/reboot the device? Will it be painfully slow? If it's not a bad idea, is there a boot script that would be an ideal place to run the command?
2. One of my intentions for booting off mmc is to maintain a baseline system on my powerbook so I can simply replace the necessary file structure if things go bad. Is there an ideal system to for doing this? Can I simply make a .dmg of the FAT partition, drag and drop the entire directory tree, and keep it safe? Or should I use a tar command to preserve it? Am I even correct in assuming that saving the contents of the FAT partition will enable me to get back to a default state quickly? I believe I read that as one of the benefits somewhere.
I'm not a Linux n00b, but I'm also not an everyday user, so please be gentle.