OK, I am happy. I summerize this bug by attaching the diff, which also closes #410979, #410983, #410980, #410977, #410981, #410984, #410989 .
I will talk the Lior and we will upload this new version in the next week. As I know him, he will probably push me twards doing this tonight :) Thanks Reuben!
Index: mountrw.8 =================================================================== --- mountrw.8 (revision 3346) +++ mountrw.8 (working copy) @@ -8,7 +8,7 @@ normal mount command. .nf -.B mount -o mount,ro / +.B mount -o mount,rw / .fi .SH SEE ALSO Index: debian/default_orig =================================================================== --- debian/default_orig (revision 3346) +++ debian/default_orig (working copy) @@ -1,10 +0,0 @@ -# This file controls the flashybrid init script. - -# Whether to start flashybrid on boot, and shut it down on shutdown. -# This has the potential to break your system if it is turned on, so -# make sure you understand flashybrid, and have configured it for your -# system, before turning this on. -ENABLED=no - -# Whether to display a message before a directory is synchronized or not. -VERBOSE=yes Index: debian/changelog =================================================================== --- debian/changelog (revision 3346) +++ debian/changelog (working copy) @@ -8,11 +8,16 @@ the upgrade of packages. Closes #410053 * Updated default configuration to match packages on Etch. Sub directories of /var/lib have been added or modified: - - added dhcp3 (keeping dhcp) Closes #410055 + - added dhcp3 (keeping dhcp). Closes #410055 - added php5 (keeping php4) - added alsa to the ramstore setup - using a lower level apache directory * Removed directory "ram" in the source. It's not installed anyway. + * Removed the file "default_orig" in the source. It's not installed + directly, but created by the config script. + * Updated documentation. Closes #410979, #410983, #410980, #410977, + #410981, #410984 + * Updated default configuration. Closes #410989 -- Diego Iastrubni <[EMAIL PROTECTED]> Wed, 7 Feb 2007 12:31:11 +0200 Index: debian/README.Debian =================================================================== --- debian/README.Debian (revision 3346) +++ debian/README.Debian (working copy) @@ -5,23 +5,25 @@ 3) reboot Step 3 is mandatory, because the init.d script modifies the FSH before most -of the processes start running. +of the processes start running. This means some processes have some files +open on the tmpfs, and you cannot safely unmount that tmpfs. To modify any configuration, you need only to modify the configuration files, -and reboot.Currently there is no alternative, since I have not found a way -moving the open file handles from one file system (the tmpfs) into another -(your real flash, HD). +and reboot. Currently there is no alternative alternative to rebooting, since +I have not found a way to move the move the open file handles from one +filesystem (the tmpfs) into another (your real flash or HD). If you want to remove this package, you should first disable it, -boot the machine, and ONLY WHEN THE MACHINE HAS BEEN REBOOTED WITHOUT FLASHYBRID -RUNNING YOU CAN REMOVE THE PACKAGE ITSELF. If you do not to do it this way, -you can potentially loose data (things like configuration files in /etc/ will -not get synced to the real drive, stay only in the tmpfs and lost on reboot. +reboot the machine, and ONLY WHEN THE MACHINE HAS BEEN REBOOTED WITHOUT +FLASHYBRID RUNNING, remove the package itself. If you do not to do it +this way, you can potentially loose data (things like configuration files in +/etc/ will not get synced to the real drive, stay only in the tmpfs and lost +on reboot). You cannot restart this "service", since some file descriptors may open on the -tmpfs. The reload and restart actions are NULL, and I only put them to keep +tmpfs. The reload and restart actions are null, and I only put them in to keep lintain happy about LSB. - -- Diego Iastrubni <[EMAIL PROTECTED]> Sun, 29 Oct 2006 17:00:00 +0200 + -- Diego Iastrubni <[EMAIL PROTECTED]> Thu, 15 Feb 2007 10:00:00 +0200 Index: debian/templates =================================================================== --- debian/templates (revision 3346) +++ debian/templates (working copy) @@ -7,9 +7,9 @@ documentation. . If you want to remove this package, you should first disable it, - boot the machine, and ONLY WHEN THE MACHINE HAS BEEN REBOOTED WITHOUT FLAHYBRID + boot the machine, and ONLY WHEN THE MACHINE HAS BEEN REBOOTED WITHOUT FLASHYBRID RUNNING YOU CAN REMOVE THE PACKAGE ITSELF. If you do not to do it this way, - you can potentially loose data (things like configuration files in /etc/ will + you can potentially lose data (things like configuration files in /etc/ will not get synced to the real drive, stay only in the tmpfs and lost on reboot. . Please read the Debian documentation found in /usr/share/doc/flashybrid/ Index: README =================================================================== --- README (revision 3346) +++ README (working copy) @@ -36,14 +36,6 @@ full system is available, and after apt runs it updates the above mentioned directories. -Flashybrid is configured by files in /etc/flashybrid. The fh-full and -fh-embed commands make it easy to transition a system between the two -states. /etc/init.d/flashybrid init script is run at system boot and -shutdown. The fh-update program updates a flashybrid system after apt -is run, or you can run it by hand after making manual changes. - -For details on setting up a flashybrid system, see INSTALL. - Who: Flashybrid was created by Joey Hess <[EMAIL PROTECTED]> Index: config =================================================================== --- config (revision 3346) +++ config (working copy) @@ -20,8 +20,8 @@ # command. EMBED_CMDS="mount -o remount,ro /" -# This controlles the maximum ammount of memory you want to allocate -# to the tmpfs/ram drive +# This controls the maximum ammount of memory you want to allocate +# to the tmpfs RAM drive # This parameter is optional, and if you do not supply if, tmpfs will # occupy up to 50% of your available memory (ram+swap) FLASH_MAX=92m Index: fh-sync.8 =================================================================== --- fh-sync.8 (revision 3346) +++ fh-sync.8 (working copy) @@ -4,9 +4,9 @@ .SH SYNOPSIS .B fh-sync .SH DESCRIPTION -Synchronize the ram storage of flash hybrid with the drive. The machine must be -on embedded mode before the call, and after the call the root filesystem will -be re-mounted as read only. +Synchronize the RAM storage of flashybrid with the drive. The machine must be +in embedded mode before the call, and after the call the root filesystem will +be remounted as read-only. Loosely based on the original init scripts of flashybrid v0.002.