天天看點

解決解除安裝U盤問題:umount: /mnt/usb: device is busy

問題:

#umount /dev/sda1

umount: /mnt/usb: device is busy

查找占用目錄程序:

#lsof |grep /mnt/usb

bash 1971 root cwd DIR 8,1 16384 1 /mnt/usb/

bash 2342 root 3r DIR 8,1 16384 1 /mnt/usb/

殺掉程序:

#kill -9 1971

#kill -9 2342

解除安裝:

#umount /mnt/usb

繼續閱讀