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

Re: how to cleanly remove the chroot environment?

On Wed, Jun 20, 2007 at 07:23:57PM -0000, avishai wrote:
> /home on /var/chroot/sid-ia32/home type none (rw,bind)
> /tmp on /var/chroot/sid-ia32/tmp type none (rw,bind)
> /dev on /var/chroot/sid-ia32/dev type none (rw,bind)
> /proc on /var/chroot/sid-ia32/proc type none (rw,bind)

These are all bind mounts.  You can umount them by running this as root:

for i in home tmp dev proc ; do umount /var/chroot/sid-ia32/$i ; done

If you get any "device busy" (or similar) errors then that means that
something is still accessing one of those partitions.  You need to stop
or kill that process and then try again.


Roberto C. Sánchez

Attachment: signature.asc
Description: Digital signature

Reply to: