Re: [PATCH 0/3 V2] Enable config.d directory to be processed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/5/20 9:56 AM, Steve Dickson wrote:
> Here is the second attempt to use conf.d directories
> to set configuration variables. 
> 
> When a conf.d directory exists and files with the
> ".conf" extension exist they will be used to set
> configuration variables. 
> 
> Files not using that extension or files beginning 
> with a "." (ex .nfs.conf) will be ignored. 
> 
> The conf.d files will take priority over the main 
> config files. Meaning a variable set in both the
> main config and the conf.d file, the conf.d file
> will have priority over the variable in the main config.
> 
> The ordering of when the conf.d are processed
> can be set by alphabetical naming convention.
> Prefixing file name with a 001-nfs.conf, 
> 002-nfs.conf will control when the config is 
> process. Note the last config file process
> with have the highest priority.
> 
> Steve Dickson (3):
>   conffile: process config.d directory config files.
>   conffile: Only process files in the config.d dirs that end with ".conf"
>   manpage: Update nfs.conf and nfsmount.conf manpages
Committed... (tag: nfs-utils-2-5-3-rc1)

steved.
> 
>  support/nfs/conffile.c        | 139 +++++++++++++++++++++++++++++++++-
>  systemd/nfs.conf.man          |   8 ++
>  utils/mount/nfsmount.conf.man |   7 ++
>  3 files changed, 151 insertions(+), 3 deletions(-)
> 




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux