]> piware.de Git - bin.git/commitdiff
makechroot: use rbind, to cover ecryptfs submounts
authormartin@piware.de <>
Tue, 10 Aug 2010 09:08:57 +0000 (11:08 +0200)
committermartin@piware.de <>
Tue, 10 Aug 2010 09:08:57 +0000 (11:08 +0200)
makechroot

index 55dfa4120f03558b2a51c008bf5e0a47ef4166b6..76201b1e97616558ed649a310dfc0d71618f5052 100755 (executable)
@@ -29,7 +29,7 @@ if ! grep -q $DIR /etc/fstab; then
     cat <<EOF >> /etc/fstab
 
 # $DIST chroot
-/home           $DIR/home none    bind    0 0
+/home           $DIR/home none    rbind   0 0
 /proc           $DIR/proc none    bind    0 0
 /sys            $DIR/sys  none    bind    0 0
 /tmp            $DIR/tmp  none    bind    0 0