[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] move cow mount rather than binding it on /live/cow, this prevents the /cow mount showing up in /proc/mounts



diff --git a/scripts/live b/scripts/live
index 76adec0..8a6c74f 100755
--- a/scripts/live
+++ b/scripts/live
@@ -971,7 +971,7 @@ setup_unionfs ()
 
 	# shows cow fs on /cow for use by live-snapshot
 	mkdir -p "${rootmnt}/live/cow"
-	mount -o bind /cow "${rootmnt}/live/cow"
+	mount -o move /cow "${rootmnt}/live/cow"
 }
 
 check_dev ()

thanks,

Jesse



Reply to: