public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Seth McDonald <sethmcmail@pm.me>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v1 08/11] man/man3type/stat.3type: HISTORY: Specify first POSIX appearance of st_{rdev,blksize,blocks}
Date: Fri, 9 Jan 2026 11:00:50 +0100	[thread overview]
Message-ID: <aWDO3nEcZWMcqvXx@devuan> (raw)
In-Reply-To: <AzV_uq5wDJK6TGmy0mhak2A1ooip-Z-E6YOBGNRtQXcSgNNe0SlkUc0uHPvPaAVxQZMRSpw_nrvCwq3u3MnibR-mB-ymp3ycoAH9fIhWu6k=@pm.me>

[-- Attachment #1: Type: text/plain, Size: 3578 bytes --]

Hi Seth,

On Fri, Jan 09, 2026 at 03:31:46AM +0000, Seth McDonald wrote:
> On Thursday, 8 January 2026 at 21:48, Alejandro Colomar <alx@kernel.org> wrote:
> > On Thu, Jan 08, 2026 at 01:03:14PM +1000, Seth McDonald wrote:
> > I think this would be simpler like this:
> >
> > 	@@ -135,7 +135,14 @@ .SH DESCRIPTION
> > 	.SH STANDARDS
> > 	POSIX.1-2024.
> > 	.SH HISTORY
> > 	+.TP
> > 	+.I stat
> > 	POSIX.1-1988.
> > 	+.TP
> > 	+.I .st_rdev
> > 	+.I .st_blksize
> > 	+.I .st_blocks
> > 	+SUSv1, POSIX.1-2001 XSI.

Apart from the TQs, I forgot to use one line for each.

> > 	.P
> > 	Old kernels and old standards did not support nanosecond timestamp fields.
> > 	Instead, there were three timestamp fields
> >
> > What do you think?
> 
> That would certainly work.  I initially thought about doing that, but
> decided against it since I hadn't at the time seen any other pages that
> list individual structure members in their history section.  But if
> you're on board with it, then I'll send in a v2 with this fixup.

You're right that I can't find any existing pages documenting individual
field members in STANDARDS or HISTORY, but I think it's fine and
desirable.

> Btw, I'll want to add in some '.TQ's between the listed members, as
> without it the formatting looks a little funny.

Sure; I forgot about them.  :-)

> 	$ MANWIDTH=64 man ./man3type/stat.3type | sed -n '/^HISTORY$/,+5p'
> 	HISTORY
> 	       stat   POSIX.1-1988.
> 
> 	       .st_rdev
> 	              .st_blksize .st_blocks SUSv1, POSIX.1-2001 XSI.

You may be interested in diffman-git(1).  I think it would help
reviewing your diffs.  Here's some example of how it works:

Considering the following diff:

	$ git diff
	diff --git i/man/man3type/stat.3type w/man/man3type/stat.3type
	index 44d45b4a5..1a99d1d0a 100644
	--- i/man/man3type/stat.3type
	+++ w/man/man3type/stat.3type
	@@ -135,7 +135,15 @@ .SH DESCRIPTION
	 .SH STANDARDS
	 POSIX.1-2024.
	 .SH HISTORY
	+.TP
	+.I stat
	 POSIX.1-1988.
	+.TP
	+.I .st_rdev
	+.I .st_blksize
	+.I .st_blocks
	+SUSv1,
	+POSIX.1-2001 XSI.
	 .P
	 Old kernels and old standards did not support nanosecond timestamp fields.
	 Instead, there were three timestamp fields

You can check the exact changes to the manual page:

	$ diffman-git 
	--- HEAD:man/man3type/stat.3type
	+++ ./man/man3type/stat.3type
	@@ -105,7 +105,10 @@ STANDARDS
	      POSIX.1‐2024.
	 
	 HISTORY
	-     POSIX.1‐1988.
	+     stat   POSIX.1‐1988.
	+
	+     .st_rdev
	+            .st_blksize .st_blocks SUSv1, POSIX.1‐2001 XSI.
	 
	      Old kernels and old standards did not support nanosecond timestamp fields.  In‐
	      stead, there were three timestamp fields ——.st_atime, .st_mtime, and .st_ctime——

For more documentation, see diffman-git(1), of course.  :)
It's provided in the repository, in case your distro doesn't provide it
yet.  You can install it with the usual

	$ make -R -j4 && sudo make -R -j4 install;

Or just run it from the repo, since it's a bash(1) script.  It's here:

	$ find * | grep diffman-git
	man/man1/diffman-git.1
	src/bin/diffman-git


> I'll also send in the next set of man3type patches with chronological
> ordering, at least as far as I can tell. :)

Thanks!

> 
> ----
> Seth McDonald.
> sethmcmail at pm dot me (mailing lists)
> 2336 E8D2 FEB1 5300 692C  62A9 5839 6AD8 9243 D369

I have a question: do you use mutt(1) or neomutt(1) by chance?


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2026-01-09 10:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-08  3:03 [PATCH v1 00/11] man/man3type/*: Update simple history of types Seth McDonald
2026-01-08  3:03 ` [PATCH v1 01/11] man/man3type/itimerspec.3type: HISTORY: Update first POSIX appearance of itimerspec(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 02/11] man/man3type/mode_t.3type: HISTORY: Update first POSIX appearance of mode_t(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 03/11] man/man3type/off_t.3type: Change VERSIONS to HISTORY Seth McDonald
2026-01-08  3:03 ` [PATCH v1 04/11] man/man3type/off_t.3type: HISTORY: Update first POSIX appearance of off_t(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 05/11] man/man3type/sigevent.3type: HISTORY: Update first POSIX appearance of sig{event,val}(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 06/11] man/man3type/stat.3type: SYNOPSIS: wfix Seth McDonald
2026-01-08  3:03 ` [PATCH v1 07/11] man/man3type/stat.3type: HISTORY: Update first POSIX appearance of stat(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 08/11] man/man3type/stat.3type: HISTORY: Specify first POSIX appearance of st_{rdev,blksize,blocks} Seth McDonald
2026-01-08 11:47   ` Alejandro Colomar
2026-01-09  3:31     ` Seth McDonald
2026-01-09 10:00       ` Alejandro Colomar [this message]
2026-01-10  6:00         ` Seth McDonald
2026-01-10 11:12           ` Alejandro Colomar
2026-01-08  3:03 ` [PATCH v1 09/11] man/man3type/stat.3type: HISTORY: Specify initial datatypes of st_{blksize,blocks} Seth McDonald
2026-01-08  3:03 ` [PATCH v1 10/11] man/man3type/timer_t.3type: HISTORY: Update first POSIX appearance of timer_t(3type) Seth McDonald
2026-01-08  3:03 ` [PATCH v1 11/11] man/man3type/timespec.3type: HISTORY: Update first POSIX appearance of timespec(3type) Seth McDonald
2026-01-08 11:49 ` [PATCH v1 00/11] man/man3type/*: Update simple history of types Alejandro Colomar
2026-01-09  4:18 ` [PATCH v2 00/12] " Seth McDonald
2026-01-09  4:18   ` [PATCH v2 01/12] man/man3type/itimerspec.3type: HISTORY: Update first POSIX appearance of itimerspec(3type) Seth McDonald
2026-01-09  4:18   ` [PATCH v2 02/12] man/man3type/mode_t.3type: HISTORY: Update first POSIX appearance of mode_t(3type) Seth McDonald
2026-01-09  4:18   ` [PATCH v2 03/12] man/man3type/off_t.3type: Change VERSIONS to HISTORY Seth McDonald
2026-01-09  4:18   ` [PATCH v2 04/12] man/man3type/off_t.3type: HISTORY: Update first POSIX appearance of off_t(3type) Seth McDonald
2026-01-09  4:18   ` [PATCH v2 05/12] man/man3type/sigevent.3type: HISTORY: Update first POSIX appearance of sig{event,val}(3type) Seth McDonald
2026-01-09  4:19   ` [PATCH v2 06/12] man/man3type/stat.3type: SYNOPSIS: wfix Seth McDonald
2026-01-09  4:19   ` [PATCH v2 07/12] man/man3type/stat.3type: HISTORY: Update first POSIX appearance of stat(3type) Seth McDonald
2026-01-09  4:19   ` [PATCH v2 08/12] man/man3type/stat.3type: HISTORY: Split stat(3type) from st_{rdev,blksize,blocks} Seth McDonald
2026-01-09  4:19   ` [PATCH v2 09/12] man/man3type/stat.3type: HISTORY: Specify first POSIX appearance of st_{rdev,blksize,blocks} Seth McDonald
2026-01-09  4:19   ` [PATCH v2 10/12] man/man3type/stat.3type: HISTORY: Specify initial datatypes of st_{blksize,blocks} Seth McDonald
2026-01-09  4:19   ` [PATCH v2 11/12] man/man3type/timer_t.3type: HISTORY: Update first POSIX appearance of timer_t(3type) Seth McDonald
2026-01-09  4:19   ` [PATCH v2 12/12] man/man3type/timespec.3type: HISTORY: Update first POSIX appearance of timespec(3type) Seth McDonald
2026-01-09 10:05   ` [PATCH v2 00/12] man/man3type/*: Update simple history of types Alejandro Colomar
2026-01-10  6:15   ` [PATCH v3 0/3] " Seth McDonald
2026-01-10  6:15     ` [PATCH v3 1/3] man/man3type/stat.3type: HISTORY: Split stat(3type) from st_{rdev,blksize,blocks} Seth McDonald
2026-01-10  6:15     ` [PATCH v3 2/3] man/man3type/stat.3type: HISTORY: Update first POSIX appearance of st_{rdev,blksize,blocks} Seth McDonald
2026-01-10  6:15     ` [PATCH v3 3/3] man/man3type/stat.3type: HISTORY: Specify initial datatypes of st_{blksize,blocks} Seth McDonald
2026-01-10 11:50     ` [PATCH v3 0/3] man/man3type/*: Update simple history of types Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aWDO3nEcZWMcqvXx@devuan \
    --to=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=sethmcmail@pm.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox