[lfs-support] Chapter 9 device is busy

David Brodie lfs at aba.eclipse.co.uk
Mon Sep 9 07:37:40 PDT 2013


On 09/09/13 12:46, Rob Chua wrote:
> can you help me with this?
> root at rob:/home/rob# umount -v $LFS/dev/pts
> umount: /dev/pts: device is busy.
>          (In some cases useful info about processes that use
>           the device is found by lsof(8) or fuser(1))
> root at rob:/home/rob# if [ -h $LFS/dev/shm ]; then
>> link=$(readlink  $LFS/dev/shm)
>> umount -v $LFS/$link
>> unset link
>> else
>> umount -v $LFS/dev/shm
>> fi
> shm has been unmounted
> root at rob:/home/rob# umount -v $LFS/dev
> umount: /dev: device is busy.
>          (In some cases useful info about processes that use
>           the device is found by lsof(8) or fuser(1))
> root at rob:/home/rob# umount -v $LFS/proc
> umount: /proc: device is busy.
>          (In some cases useful info about processes that use
>           the device is found by lsof(8) or fuser(1))
> root at rob:/home/rob# umount -v $LFS/sys
> umount: /sys: device is busy.
>          (In some cases useful info about processes that use
>           the device is found by lsof(8) or fuser(1))
>

It's probably because LFS isn't defined, so you're trying to unmount the 
special filesystems from the running system, which it won't like.

David



More information about the lfs-support mailing list