[systemd-devel] nfs mounts and the "nofail" option

Colin Guthrie gmane at colin.guthr.ie
Sun Sep 30 06:03:15 PDT 2012


Hi,

As we've discussed the semantics of (specifically) nfs mounts with the
nofail option, it seems that latest libmount+nfs-utils do not handle the
nofail option between them which causes mount failures if it's specified
in the fstab.

The following patch to util-linux tells libmount to strip off the nofail
option before handing it to the mount helper, but perhaps this is too
general and some mount helpers for different filesystems need to nofail
option to be passed through?

An alternative is simply to tech nfs-utils about the option.

Question is: Which is the correct approach?


Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: util-linux-2.22-libmount-strip-nofail-option.patch
Type: text/x-patch
Size: 1199 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120930/2d2de8ce/attachment.bin>


More information about the systemd-devel mailing list