Mercurial > hg > aboriginal
changeset 1377:18fd34f46508
Fix broken comment.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 15 Jun 2011 20:10:45 -0500 |
parents | a6d18adf198d |
children | 47853d06dd3f |
files | sources/root-filesystem/sbin/setup-chroot |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/root-filesystem/sbin/setup-chroot Tue Jun 14 20:48:07 2011 -0500 +++ b/sources/root-filesystem/sbin/setup-chroot Wed Jun 15 20:10:45 2011 -0500 @@ -27,11 +27,11 @@ find / -xdev | cpio -m -v -p "$NEWROOT" | dotprogress fi -ZAP="$NEWROOT" - -# Iterate through mount points in reverse order, find most recent mount -# that - +# Copy mounts from existing root filesystem to new target. + +# Get mount point list, minus the one our new root filesystem is already in, +# then mount --bind each remaining mount point (once) into NEWROOT. + ZAP="$NEWROOT" for i in $(awk '{print $2}' /proc/mounts | tac)