[PATCH] move cow mount rather than binding it on /live/cow, this prevents the /cow mount showing up in /proc/mounts
- Subject: [PATCH] move cow mount rather than binding it on /live/cow, this prevents the /cow mount showing up in /proc/mounts
- From: jesse at mbuki-mvuki.org (Jesse W. Hathaway)
- Date: Thu, 27 Sep 2007 15:39:13 -0400
- Message-id: <[🔎] 20070927193913.GH26627@mbuki-mvuki.org>
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: