Skip to content
rofl0r edited this page May 7, 2012 · 7 revisions

it sometimes happen to me that upon leaving a chroot, the umount will fail due to some /dev file still being open.

in this case, trying to rm -rf $R can cause major havoc, such as a deleted /dev/null

restore it using

mknod --mode=666 /dev/null c 1 3