Re: [PATCH v4 2/4] man/man5/tunables.conf: Document system-wide tunables config

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <anTugcvjragzGpSK@devuan>
Hi DJ,

> Date: 2026-08-06 16:17:36-0400
> From: DJ Delorie <[email protected]>
>
> Alejandro Colomar <[email protected]> writes:
> 
> > Hmmmm, let's see.  I couldn't do it in five words, but how about this
> > schematic approach?
> >
> > 	The file may also contain
> > 	.IR filters ,
> > 	which limit the tunables following it,
> > 	The effects of a filter are terminated by
> > 	any of the following:
> > 	.IP \[bu] 3
> > 	The end of the file.
> > 	.IP \[bu]
> > 	The end of an included file.
> > 	.IP \[bu]
> > 	An
> > 	.B include
> > 	directive.
> > 	.IP \[bu]
> > 	A new (possibly empty) filter.
> 
> I like it as-is, other than "why are there blank lines" but I don't care
> about that ;-)

We can compact them.  ;-)

	The file may also contain
	.IR filters ,
	which limit the tunables following it,
	The effects of a filter are terminated by
	any of the following:
	.PD 0
	.IP \[bu] 3
	The end of the file.
	.IP \[bu]
	The end of an included file.
	.IP \[bu]
	An
	.B include
	directive.
	.IP \[bu]
	A new (possibly empty) filter.
	.PD

(I haven't tested; I've written it in the mail editor directly)

> > Since a filter can be empty, we should document that.  If we document
> > that 'filter:pattern' is optional, it'd be [[filter:pattern]] (with the
> > appropriate formatting differences: the inner '[' wouldn't be bold).
> > However, that's likely to be confusing, so let's document that
> > separately:
> >
> > 	A filter can also be empty:
> > 	.BR [] .
> > 	Such a filter has no effects.
> 
> Done.  I put it after the filter list, so the "also" made sense.

Thanks!


Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmp07wgACgkQ64mZXMKQ
wqkv4A/+P7lJ9w6cvIVtmP7MrzXdV0tBAo6XZRXpEwPruA+K5GvhY6FRZIK3866E
MLbxMzX0cyIsA6kH/L5M7fu1l8W3Ddctah2ayGgK9jydwdz2q2mqbCmHaHQbtPjl
xTHQB34boswukDRk5/ef5vPDHSRknCn/O/8hleaDW3tqChFcCENvG8B5g/5jf/qS
F6C7OGcVnIWUvOPwnjN2ZWU5MVNMwBBWtIZ1iZ78In+yFByVmL6IinlWyABQ/HA2
kKKonPI5Uojdg7ntALUcC2KI/So+wqMGZg7MhExwvn8m0ayDwFwiGRWASkH2wMQP
edIVUiMDuQ6YEy5DndKVQu9lUYhLlZ/BX4ljYWqSKeASo9+lUTa7++YvUgoRdpdQ
4212jAfK6CA90dzBcJujvZ+u9rjoL10G3/Zu7RMO+eN/hbBl4X9WeROC+oOxbgMs
p8GdFGnHBNYaJj9cZ36Fq/rBQapKsp2t0BswHlobmMif9GhM4VInYZCw3llQHuJj
ClM8q7zr/FDSkDHURxVaHG0EJido1fXGHRe/T/rZY7mTActtrwzg1WV+RAAjZ8uH
JkY9Wp4kH1IMyIcbb0yLw4QFEaHAqFu5WEZX7vGrs7/7nzt+s6D5uhXr7oU5BArA
hxIdeqi9gmgSKga3r8OrHZkLTj3YJenmIhwIYVvqdhSH86a6WAw=
=1QBw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.