Home > Article > Operation and Maintenance > A certain directory in Linux cannot be entered, causing a stuck problem
If you have folder A in a directory, the following operations will cause it to freeze directly:
1. Use ls -ls in the directory of the same level as folder A to view it. Stuck;
2. Calculating disk space in the same directory as folder A got stuck;
3. Directly cd into folder A and got stuck.
In this case, it is very likely that the directory is mounted to another address, and that address is no longer accessible.
Recommended online video tutorial: linux video tutorial
Solution:
1. Query the usage of the current system mount:
mount -l
2. Cancel the mount
umount 文件夹A
3. If it cannot be canceled, force the uninstall:
umount -f 文件夹A
4. If it prompts that the directory is busy, use delayed uninstallation. It will wait until the directory is not busy. Then uninstall
umount -l 文件夹A
For more articles and tutorials, please visit: linux tutorial
The above is the detailed content of A certain directory in Linux cannot be entered, causing a stuck problem. For more information, please follow other related articles on the PHP Chinese website!