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: Thu, 8 Jan 2026 12:47:57 +0100 [thread overview]
Message-ID: <aV-ZG_8At_-R7G2v@devuan> (raw)
In-Reply-To: <9d3a705508aaaec7b2ee5c79bb284fd508008fce.1767840410.git.sethmcmail@pm.me>
[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]
Hi Seth,
On Thu, Jan 08, 2026 at 01:03:14PM +1000, Seth McDonald wrote:
> From: Seth McDonald <sethmcmail@pm.me>
>
> The st_rdev, st_blksize, and st_blocks fields of the stat(3type)
> structure first appeared in SUSv1.[1] They were added to POSIX.1-2001
> when POSIX and SUS merged, but as an XSI extension (still SUS-only).[2]
>
> [1] X/Open CAE Specification, System Interfaces and Headers Issue 4,
> Version 2, Chapter 4 "Headers", p. 830.
> [2] IEEE Std 1003.1-2001, Volume 1, Chapter 13 "Headers", p. 356.
> <https://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/stat.h.html>
>
> Signed-off-by: Seth McDonald <sethmcmail@pm.me>
> ---
> man/man3type/stat.3type | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/man/man3type/stat.3type b/man/man3type/stat.3type
> index 44d45b4a52b4..83f6e881a5ae 100644
> --- a/man/man3type/stat.3type
> +++ b/man/man3type/stat.3type
> @@ -137,6 +137,14 @@ .SH STANDARDS
> .SH HISTORY
> POSIX.1-1988.
> .P
> +The
> +.IR .st_rdev ,
> +.IR .st_blksize ,
> +and
> +.I .st_blocks
> +fields first appeared in SUSv1
> +before being added to POSIX.1-2001 XSI.
> +.P
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.
.P
Old kernels and old standards did not support nanosecond timestamp fields.
Instead, there were three timestamp fields
What do you think?
Have a lovely day!
Alex
> Old kernels and old standards did not support nanosecond timestamp fields.
> Instead, there were three timestamp fields
> .RI \[em] .st_atime ,
> --
> 2.47.3
>
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-01-08 11:48 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 [this message]
2026-01-09 3:31 ` Seth McDonald
2026-01-09 10:00 ` Alejandro Colomar
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=aV-ZG_8At_-R7G2v@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