On 22/02/2020 12.42, Per Jessen wrote:
Carlos E. R. wrote:
On 22/02/2020 08.24, Per Jessen wrote:
Dave Howorth wrote:
To be fair, the current usual? environment of a single desktop different considerably from a typical? server. If there's a desktop, then what the (a?) user typically wants is for the desktop to come up and then perhaps ask questions about what do you want to do about this missing filesystem or whatever other resource is missing. On a server, I might want it to stop and bleat "something's wrong", yes.
Yes, that is a good point - I do tend to think mostly in terms of servers.
Many linux machines are also used as servers. Linux is really a server operating system, multiuser and multitasking. If I use postfix, that's clearly server software. A plain user simply doesn't make use of all the features.
Maybe a matter of opinion. Postfix is an MTA, every client machine needs one, desktops included. That is why we install it by default.
No, they don't. Thunderbird is typically configured the same way as Windows, which doesn't have an MTA. The client software simply talks directly with the MTA at the ISP. Even Alpine can do it. It is other things like cron which needs a local MTA, acting as a server process ;-)
I have never used the "nofail" option, but it sounds (man systemd.mount) like that is what you need in such a situation.
"nofail" has caveats.
Well, we _are_ talking about linux :-)
For instance, if I issue command mount:
Telcontar:~ # mount -v /mnt/Ext/Old_D Telcontar:~ #
Yet it failed:
Telcontar:~ # l /mnt/Ext/Old_D total 8 drwxr-xr-x 2 root root 4096 Feb 15 2015 ./ drwxrwxr-x 13 root root 4096 Apr 21 2018 ../ -rw-r--r-- 1 root root 0 Feb 15 2015 not_mounted
It seems to me that is _exactly_ the behaviour what you asked for when you specified 'nofail' = do not report if device does not exist.
Nope! The intended behaviour (to me) is not produce a crash when mounting during boot in an automated way. I'd like it to issue a message (fail) when done manually by me. Maybe not an error, but a warning. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)