문제

I know mount and df lists all mounts. But I would like to list the mounts which failed to establish on boot, too. How do I get them?

도움이 되었습니까?

해결책

There is no such command, since there is no list of "attempted mounts". You can compare the current mount list (/etc/mtab) to the list of shares registered to be mounted though (/etc/fstab).

Alternatively you could try to grep through the system log files to find failed mount attempts.

다른 팁

You can use mount -a to mount all the mount points defined in the fstab.

If there is some kind of error mounting, you will get some warning. If the mount point is already mounted successfully, the command will do nothing with that mountpoint.

Mount errors should appear in dmesg.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top