Hello,
I am trying to automate a task that I believe is easy. It is documented
for manual system administrative purposes here:
Gentoo Linux -- Installing the Gentoo Base System - chapter 6
I am attempting to do the following in a script:
# cd $TOP_OF_ROOT_FS
# mount -t proc none /mnt/gentoo/proc
# chroot . /bin/bash -c "cmd; cmd; exit 0"
# umount ./proc
However I am getting an error:
umount: /proc: device is busy
Does anyone know how to automate this sort of task?
Also, what is the difference between:
mount -t proc none /mnt/gentoo/proc
&
mount -t proc proc /mnt/gentoo/proc
Is "none" or "proc" merely a label for the fstab?
Thanks in advance.
Cheers!