diff options
| author | Marco Amadori <amadorim@vdavda.com> | 2008-06-09 15:24:41 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:00 +0100 |
| commit | c9e1f3e45460445b6247574ebfa8a3e32cba3cb4 (patch) | |
| tree | 9347748575e882e4f1e7b9cf1f3b8cba02099e94 /scripts | |
| parent | 776853fc21a904f5280cffd488c80dd83ba0a22e (diff) | |
| download | live-boot-c9e1f3e45460445b6247574ebfa8a3e32cba3cb4.tar.gz live-boot-c9e1f3e45460445b6247574ebfa8a3e32cba3cb4.zip | |
Try to bind /cow to /live/cow if unable to move.
* This should re-enable using of live-snapshot with targets differents
from static list cpio's.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index 62b5224..3f39c97 100755 --- a/scripts/live +++ b/scripts/live @@ -1173,7 +1173,7 @@ setup_unionfs () # shows cow fs on /cow for use by live-snapshot mkdir -p "${rootmnt}/live/cow" - mount -o move /cow "${rootmnt}/live/cow" + mount -o move /cow "${rootmnt}/live/cow" || mount -o bind /cow "${rootmnt}/live/cow" || [ "${quiet}" != "y" ] && log_warning_msg "Unable to move or bind /cow to ${rootmnt}/live/cow" } check_dev () |
