Sheevaplug, Debian Wheezy sheeva-with-linux 2.6.38.2
I am posting this to summarize my Flashybrid experiences (bump Flashybrid in the topic list).
I have used Flashybrid on both SD and NAND. It seems to work OK. This incurs minimal flash writes so this should lead to a very long flash life cycle. The running Debian system is a readonly root. For the systems that I am running the main issue has always been /var/log. Flashybrid makes for a very inactive SD card.
The positive experience here is that Flashybrid on a Sheevaplug results in minimal flash activity.
See:
http://plugcomputer.org/plugforum/index.php?topic=1074.msg11987#msg11987http://plugcomputer.org/plugforum/index.php?topic=1074.msg8720#msg8720I have a remaining question regarding the ramtmp. It would seem to me that the ramtmp specified in the above links is redundant when one uses an fstab like the one below. I guess I do not see the reason for using ramtmp in place of fstab. Comments of the following fstab would be appreciated, anyone?
fstab# NAND root
/dev/root / ubifs defaults,noatime,rw 0 0
# SDHC root
#/dev/root / ext2 rw,relatime,errors=continue 0 0
tmpfs /lib/init/rw tmpfs size=16K,rw,nosuid,relatime,mode=0755 0 0
tmpfs /var/run tmpfs size=1M,rw,nosuid,mode=0755 0 0
tmpfs /var/lock tmpfs size=512K,rw,noexec,nosuid,nodev,mode=1777 0 0
tmpfs /var/tmp tmpfs size=512K,rw,noexec,nosuid,nodev,mode=1777 0 0
tmpfs /tmp tmpfs defaults,nosuid,nodev,mode=1777 0 0
ramtmp/var/lib/dhcp3
/var/lib/php5
/var/lib/misc
/var/lib/ntp
/var/lib/urandom
ramstore/etc
/var/backups
/var/lib/dbus
/var/lib/logrotate
/var/log
/root
/var/spool/cron
The patch for /etc/init.d/flashybrid is:
--- /xtc/init.d/flashybrid 2006-10-30 00:46:50.000000000 +1100
+++ /etc/init.d/flashybrid 2011-04-05 10:59:50.000000000 +1000
@@ -12,12 +12,14 @@
### BEGIN INIT INFO
# Provides: flashybrid
-# Required-Start: $all
-# Required-Stop: $syslog
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
# Should-Start: $local_fs
# Should-Stop: $local_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# X-Start-Before: $network
+# X-Stop-After: $network
+# Default-Start: S
+# Default-Stop: 0 6
# Short-Description: automates use of a flash disk as the root filesystem
# Description: Flashybrid is a system to help in setting up and managing hybrid
# flash/disk/ram based Debian systems which can run most of the time
Followed by:
rm /etc/rc{0,1,2,3,4,5,6}.d/*flashybrid
insserv -v flashybrid