Question

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?

Était-ce utile?

La solution

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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top