Re: [PATCH] Update default program values for autofs.conf manual.

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

 



On Sat, 2019-09-28 at 11:08 +0200, aliveTerraN . wrote:
> Sent only to Ian by mistake, so here is the forwarded message with
> correct subject.
> 
> ---------- Forwarded message ---------
> 
> Checking the default values we have in redhat/autofs.conf.default.in
> and comparing them to the autofs.conf.5.in manual they differed.
> 
> With current iteration of autofs, we by default have that maps are
> not
> browsable and we now look for NFSv4 by default. So I changed the
> manual so it shows the correct default values for the user.

I don't think it's quite as simple as that.

The man page mentions the program default and those are accurate,
it's the installed configuration that's different and there's two
possibilities for those.

For browse_mode adding something like "installed configuration
default" to distinguish between the configuration setting and
the program source code setting is probably best.

The mount_nfs_default_protocol is different between the two
possible configurations and probably shouldn't be.

The internal program default probably should change to version
4, the configuration and man page updated.

> 
> Signed-off-by: Andreas Polnas <nurgrak@xxxxxxxxx>
> ---
> 
> diff --git a/man/autofs.conf.5.in b/man/autofs.conf.5.in
> index 39239d4..6391dc3 100644
> --- a/man/autofs.conf.5.in
> +++ b/man/autofs.conf.5.in
> @@ -63,13 +63,13 @@ but it is the best we can do.
>  .TP
>  .B browse_mode
>  .br
> -Maps are browsable by default (program default "yes").
> +Maps are browsable by default (program default "no").
>  .TP
>  .B mount_nfs_default_protocol
>  .br
>  Set the default protocol that
>  .BR mount.nfs (8)
> -uses when performing a mount (program default 3). Autofs needs to
> know
> +uses when performing a mount (program default 4). Autofs needs to
> know
>  the default NFS protocol that
>  .BR mount.nfs(8)
>  uses so it can do special case handling for its availability probe
> for




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux