[Voyage-linux] periodic sync'ing from tmpfs to flash

Jeff Ramin (spam-protected)
Mon Jan 31 23:24:46 HKT 2011


Could somebody explain how you could use ext3 as a read-only
file system? Doesn't it need to write to its journal on a regular basis?


On 01/31/2011 09:06 AM, Teco Boot wrote:
> I use it, on daily (25dec2010).
>
> root at voyage:~# grep sync /etc/crontab
> 10 0 * * * root /usr/local/sbin/sync-tmp-fs>>  /var/log/daemon.log 2>&1
>
> root at voyage:~# cat /usr/local/sbin/sync-tmp-fs
> #!/bin/sh
> remountrw
> /etc/init.d/voyage-sync sync
> remountro
>
> No problems detected.
> When a recovery takes place, system boots for second time.
> Recovery is not recorded in syslog. Maybe voyage-sync should log something in daemon.log or alternative.
>
> I'm using ext3. I'll keep fs readonly, but it is rw every now and then. Ext3 better survives Murphy: failure during voyage-sync or maintenance.
>
> Teco

-- 
Jeff Ramin
Software Engineer
Singlewire Software
2601 W Beltline Hwy #510
Madison, WI 53713

Phone Direct - 608.661.1172
www.singlewire.com





More information about the Voyage-linux mailing list