Skip to contentSkip to conversation

man: explain the naming convention of files under .d dir

PATCH In review Masatake YAMATO 2 participants 3 messages Dec 17, 2025 – Dec 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 man: explain the naming convention of files under .d dir

---
 man/man8/ip-address.8.in | 7 +++++++
 man/man8/ip-link.8.in    | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
man/man8/ip-address.8.in +7 -0
index 79942c1a..e88a114f 100644
@@ -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
man/man8/ip-link.8.in +5 -2
index ef45fe08..67f9e2f0 100644
@@ -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"
Signature · 1 line
2.51.0
#1 lore raw
Quoted 32 lines · On Thu, 18 Dec 2025 00:43:53 +0900 Masatake YAMATO <[email protected]> wrote:
---
 man/man8/ip-address.8.in | 7 +++++++
 man/man8/ip-link.8.in    | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
man/man8/ip-address.8.in +7 -0
index 79942c1a..e88a114f 100644
@@ -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
man/man8/ip-link.8.in +0 -0
index ef45fe08..67f9e2f0 100644
@@ -2315,8 +2315,11 @@ down on the switch port.
 .BR "protodown_reason PREASON on " or " off"
 set
 .B PROTODOWN

man/man8/ip-link.8.in down on the switch port. · line 2325

Quoted 10 lines
man/man8/ip-link.8.in +5 -2
-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.

#2 lore raw

From: Stephen Hemminger <[email protected]>
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

Quoted 43 lines
Quoted 40 lines · On Thu, 18 Dec 2025 00:43:53 +0900 Masatake YAMATO <[email protected]> wrote:
---
 man/man8/ip-address.8.in | 7 +++++++
 man/man8/ip-link.8.in    | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
man/man8/ip-address.8.in +7 -0
index 79942c1a..e88a114f 100644
@@ -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
man/man8/ip-link.8.in +5 -2
index ef45fe08..67f9e2f0 100644
@@ -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
 
Quoted 7 lines

man/man8/ip-link.8.in down on the switch port. · line 2325

Quoted 2 lines
man/man8/ip-link.8.in +0 -0
 .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