From 5d130cc45cd334fd38b0c6874bcc81ac74636217 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 25 Apr 2016 12:04:34 -0500 Subject: localmount/netmount: allow mount points to be marked critical In previous releases, we either treated no mount points as critical or all of them. Now both localmount and netmount support a critical_mounts setting. If mount points listed in this setting fail to mount, localmount and netmount will fail. --- conf.d/netmount | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'conf.d/netmount') diff --git a/conf.d/netmount b/conf.d/netmount index 53717fcd..e759adf1 100644 --- a/conf.d/netmount +++ b/conf.d/netmount @@ -38,3 +38,10 @@ # other words, please change it to be more suited to your system. # rc_need="net" +# +# Mark certain mount points as critical. +# This contains aspace separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# netmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" -- cgit v1.2.3