Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir
@ 2025-12-17 15:43 Masatake YAMATO
  2025-12-22 18:32 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Masatake YAMATO @ 2025-12-17 15:43 UTC (permalink / raw)
  To: netdev; +Cc: yamato

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
---
 man/man8/ip-address.8.in | 7 +++++++
 man/man8/ip-link.8.in    | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
index 79942c1a..e88a114f 100644
--- a/man/man8/ip-address.8.in
+++ b/man/man8/ip-address.8.in
@@ -331,6 +331,13 @@ values have a fixed interpretation. Namely:
 The rest of the values are not reserved and the administrator is free
 to assign (or not to assign) protocol tags.
 
+When scanning
+.BR rt_addrprotos.d
+directory, only files ending
+.BR .conf
+are considered.
+Files beginning with a dot are ignored.
+
 .SS ip address delete - delete protocol address
 .B Arguments:
 coincide with the arguments of
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index ef45fe08..67f9e2f0 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -2315,8 +2315,11 @@ down on the switch port.
 .BR "protodown_reason PREASON on " or " off"
 set
 .B PROTODOWN
-reasons on the device. protodown reason bit names can be enumerated under
-/etc/iproute2/protodown_reasons.d/. possible reasons bits 0-31
+reasons on the device. protodown reason bit names can be enumerated in the
+.BR *.conf
+files under
+.BR @SYSCONF_USR_DIR@/protodown_reasons.d " or " @SYSCONF_ETC_DIR@/protodown_reasons.d "."
+possible reasons bits 0-31
 
 .TP
 .BR "dynamic on " or " dynamic off"
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir
  2025-12-17 15:43 [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir Masatake YAMATO
@ 2025-12-22 18:32 ` Stephen Hemminger
  2025-12-22 22:42   ` Masatake YAMATO
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2025-12-22 18:32 UTC (permalink / raw)
  To: Masatake YAMATO; +Cc: netdev

On Thu, 18 Dec 2025 00:43:53 +0900
Masatake YAMATO <yamato@redhat.com> wrote:

> Signed-off-by: Masatake YAMATO <yamato@redhat.com>
> ---
>  man/man8/ip-address.8.in | 7 +++++++
>  man/man8/ip-link.8.in    | 7 +++++--
>  2 files changed, 12 insertions(+), 2 deletions(-)
> 
> diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
> index 79942c1a..e88a114f 100644
> --- a/man/man8/ip-address.8.in
> +++ b/man/man8/ip-address.8.in
> @@ -331,6 +331,13 @@ values have a fixed interpretation. Namely:
>  The rest of the values are not reserved and the administrator is free
>  to assign (or not to assign) protocol tags.
>  
> +When scanning
> +.BR rt_addrprotos.d
> +directory, only files ending
> +.BR .conf
> +are considered.
> +Files beginning with a dot are ignored.
> +
>  .SS ip address delete - delete protocol address
>  .B Arguments:
>  coincide with the arguments of
> diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
> index ef45fe08..67f9e2f0 100644
> --- a/man/man8/ip-link.8.in
> +++ b/man/man8/ip-link.8.in
> @@ -2315,8 +2315,11 @@ down on the switch port.
>  .BR "protodown_reason PREASON on " or " off"
>  set
>  .B PROTODOWN
> -reasons on the device. protodown reason bit names can be enumerated under
> -/etc/iproute2/protodown_reasons.d/. possible reasons bits 0-31
> +reasons on the device. protodown reason bit names can be enumerated in the
> +.BR *.conf
> +files under
> +.BR @SYSCONF_USR_DIR@/protodown_reasons.d " or " @SYSCONF_ETC_DIR@/protodown_reasons.d "."
> +possible reasons bits 0-31
>  
>  .TP
>  .BR "dynamic on " or " dynamic off"


The man page is slightly redundant here. Already have a README file in the
directory.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir
  2025-12-22 18:32 ` Stephen Hemminger
@ 2025-12-22 22:42   ` Masatake YAMATO
  0 siblings, 0 replies; 3+ messages in thread
From: Masatake YAMATO @ 2025-12-22 22:42 UTC (permalink / raw)
  To: stephen; +Cc: netdev

From: Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir
Date: Mon, 22 Dec 2025 10:32:09 -0800

> On Thu, 18 Dec 2025 00:43:53 +0900
> Masatake YAMATO <yamato@redhat.com> wrote:
> 
>> Signed-off-by: Masatake YAMATO <yamato@redhat.com>
>> ---
>>  man/man8/ip-address.8.in | 7 +++++++
>>  man/man8/ip-link.8.in    | 7 +++++--
>>  2 files changed, 12 insertions(+), 2 deletions(-)
>> 
>> diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
>> index 79942c1a..e88a114f 100644
>> --- a/man/man8/ip-address.8.in
>> +++ b/man/man8/ip-address.8.in
>> @@ -331,6 +331,13 @@ values have a fixed interpretation. Namely:
>>  The rest of the values are not reserved and the administrator is free
>>  to assign (or not to assign) protocol tags.
>>  
>> +When scanning
>> +.BR rt_addrprotos.d
>> +directory, only files ending
>> +.BR .conf
>> +are considered.
>> +Files beginning with a dot are ignored.
>> +
>>  .SS ip address delete - delete protocol address
>>  .B Arguments:
>>  coincide with the arguments of
>> diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
>> index ef45fe08..67f9e2f0 100644
>> --- a/man/man8/ip-link.8.in
>> +++ b/man/man8/ip-link.8.in
>> @@ -2315,8 +2315,11 @@ down on the switch port.
>>  .BR "protodown_reason PREASON on " or " off"
>>  set
>>  .B PROTODOWN
>> -reasons on the device. protodown reason bit names can be enumerated under
>> -/etc/iproute2/protodown_reasons.d/. possible reasons bits 0-31
>> +reasons on the device. protodown reason bit names can be enumerated in the
>> +.BR *.conf
>> +files under
>> +.BR @SYSCONF_USR_DIR@/protodown_reasons.d " or " @SYSCONF_ETC_DIR@/protodown_reasons.d "."
>> +possible reasons bits 0-31
>>  
>>  .TP
>>  .BR "dynamic on " or " dynamic off"
> 
> 
> The man page is slightly redundant here. Already have a README file in the
> directory.
> 

I didn't know the README files. I would like to withdraw the proposal of
this change.

Masatake YAMATO


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-22 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 15:43 [PATCH iproute2 1/2] man: explain the naming convention of files under .d dir Masatake YAMATO
2025-12-22 18:32 ` Stephen Hemminger
2025-12-22 22:42   ` Masatake YAMATO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox