Hello Marcus,

Cyanrigger:
> fsck -nf /dev/sda1
        :::
> Warning!  /dev/sda1 is mounted.
        :::

Hmm, let's make sure first that readonly re-mounted ext3 is always safe.
If you have some filesystem stress test, then
- run it for ext3 in background with ignoring all errors
- run this script foreground
  $ while true
  > do
  >   sudo mount -o remount,ro /your/ext3
  >   fsck -nf /your/ext3
  >   sudo mount -o remount,rw /your/ext3
  >   sleep 5
  > done
- since the foreground script makes ext3 readonly, all background tests
  will fail. but we can simply ignore them here.

And it may be better to swap these two line in your script (after
rsync).
> mount -o remount,ro ${LOWER_BRANCH}
> mount -o remount,udba=reval /


J. R. Okajima

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

Reply via email to