* [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories
@ 2025-12-17 15:45 Masatake YAMATO
2025-12-21 1:38 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: Masatake YAMATO @ 2025-12-17 15:45 UTC (permalink / raw)
To: netdev; +Cc: yamato
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
---
man/man8/ip-route.8.in | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index aafa6d98..d30285a4 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -1474,6 +1474,20 @@ ip route add 10.1.1.0/30 nhid 10
.RS 4
Adds an ipv4 route using nexthop object with id 10.
.RE
+
+.SH FILES
+.BR *.conf
+files under
+.BR @SYSCONF_USR_DIR@/rt_tables.d " or " @SYSCONF_ETC_DIR@/rt_tables.d
+are also read in addition to
+.BR @SYSCONF_USR_DIR@/rt_tables " or " @SYSCONF_ETC_DIR@/rt_tables "."
+
+.BR *.conf
+files under
+.BR @SYSCONF_USR_DIR@/rt_protos.d " or " @SYSCONF_ETC_DIR@/rt_protos.d
+are also read in addition to
+.BR @SYSCONF_USR_DIR@/rt_protos " or " @SYSCONF_ETC_DIR@/rt_protos "."
+
.SH SEE ALSO
.br
.BR ip (8)
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories
2025-12-17 15:45 [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories Masatake YAMATO
@ 2025-12-21 1:38 ` Stephen Hemminger
2025-12-22 3:43 ` Masatake YAMATO
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2025-12-21 1:38 UTC (permalink / raw)
To: Masatake YAMATO; +Cc: netdev
On Thu, 18 Dec 2025 00:45:47 +0900
Masatake YAMATO <yamato@redhat.com> wrote:
> Signed-off-by: Masatake YAMATO <yamato@redhat.com>
> ---
> man/man8/ip-route.8.in | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
> index aafa6d98..d30285a4 100644
> --- a/man/man8/ip-route.8.in
> +++ b/man/man8/ip-route.8.in
> @@ -1474,6 +1474,20 @@ ip route add 10.1.1.0/30 nhid 10
> .RS 4
> Adds an ipv4 route using nexthop object with id 10.
> .RE
> +
> +.SH FILES
> +.BR *.conf
> +files under
> +.BR @SYSCONF_USR_DIR@/rt_tables.d " or " @SYSCONF_ETC_DIR@/rt_tables.d
> +are also read in addition to
> +.BR @SYSCONF_USR_DIR@/rt_tables " or " @SYSCONF_ETC_DIR@/rt_tables "."
> +
> +.BR *.conf
> +files under
> +.BR @SYSCONF_USR_DIR@/rt_protos.d " or " @SYSCONF_ETC_DIR@/rt_protos.d
> +are also read in addition to
> +.BR @SYSCONF_USR_DIR@/rt_protos " or " @SYSCONF_ETC_DIR@/rt_protos "."
> +
> .SH SEE ALSO
> .br
> .BR ip (8)
This results in the same paragraph twice??
FILES
*.conf files under /usr/share/iproute2/rt_tables.d or
/etc/iproute2/rt_tables.d are also read in addition to
/usr/share/iproute2/rt_tables or /etc/iproute2/rt_tables.
*.conf files under /usr/share/iproute2/rt_protos.d or
/etc/iproute2/rt_protos.d are also read in addition to
/usr/share/iproute2/rt_protos or /etc/iproute2/rt_protos.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories
2025-12-21 1:38 ` Stephen Hemminger
@ 2025-12-22 3:43 ` Masatake YAMATO
0 siblings, 0 replies; 3+ messages in thread
From: Masatake YAMATO @ 2025-12-22 3:43 UTC (permalink / raw)
To: stephen; +Cc: netdev
From: Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories
Date: Sat, 20 Dec 2025 17:38:27 -0800
> On Thu, 18 Dec 2025 00:45:47 +0900
> Masatake YAMATO <yamato@redhat.com> wrote:
>
>> Signed-off-by: Masatake YAMATO <yamato@redhat.com>
>> ---
>> man/man8/ip-route.8.in | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
>>
>> diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
>> index aafa6d98..d30285a4 100644
>> --- a/man/man8/ip-route.8.in
>> +++ b/man/man8/ip-route.8.in
>> @@ -1474,6 +1474,20 @@ ip route add 10.1.1.0/30 nhid 10
>> .RS 4
>> Adds an ipv4 route using nexthop object with id 10.
>> .RE
>> +
>> +.SH FILES
>> +.BR *.conf
>> +files under
>> +.BR @SYSCONF_USR_DIR@/rt_tables.d " or " @SYSCONF_ETC_DIR@/rt_tables.d
>> +are also read in addition to
>> +.BR @SYSCONF_USR_DIR@/rt_tables " or " @SYSCONF_ETC_DIR@/rt_tables "."
>> +
>> +.BR *.conf
>> +files under
>> +.BR @SYSCONF_USR_DIR@/rt_protos.d " or " @SYSCONF_ETC_DIR@/rt_protos.d
>> +are also read in addition to
>> +.BR @SYSCONF_USR_DIR@/rt_protos " or " @SYSCONF_ETC_DIR@/rt_protos "."
>> +
>> .SH SEE ALSO
>> .br
>> .BR ip (8)
>
> This results in the same paragraph twice??
>
> FILES
> *.conf files under /usr/share/iproute2/rt_tables.d or
> /etc/iproute2/rt_tables.d are also read in addition to
> /usr/share/iproute2/rt_tables or /etc/iproute2/rt_tables.
>
> *.conf files under /usr/share/iproute2/rt_protos.d or
> /etc/iproute2/rt_protos.d are also read in addition to
> /usr/share/iproute2/rt_protos or /etc/iproute2/rt_protos.
>
They are similar, but a little different; please look at "rt_tables"
and "rt_protos".
Masatake YAMATO
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-22 3:43 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:45 [PATCH iproute2 2/2] man: explain rt_tables.d and rt_protos.d directories Masatake YAMATO
2025-12-21 1:38 ` Stephen Hemminger
2025-12-22 3:43 ` Masatake YAMATO
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).