On 2016-03-08 15:11, Carlos E. R. wrote:
On 2016-03-08 00:18, Anton Aylward wrote:
Or, RTFM, use "nofail" ... maybe
This option has another can of worms. If such a mount fails, you get no message at all that it failed - but sometimes you do:
Telcontar:~ # mount /mnt/Ext/Moria2 mount: can't find LABEL=Moria_320 Telcontar:~ #
There could be a non-blocking error condition (ie, continue with normal booting, but inform of the error), you could end writing files on the parent directory instead of on the mounted disk you wanted, and run out of space or fail later because of not found files.
In this case, you want that some other services that depend on this mount do not try to start, or that they fail, and say clearly why, but the booting should continue so that you can diagnose and work on the problem.
You can write a script that runs soon after startup and that tries to access a subdirectory or file that is only present in the mounted directory. If it can't access the file, it raises an alarm. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org