open.2, rename.2: Refer to tmpfs rather than shmem

Skimming open(2), I was surprised not to see tmpfs mentioned as a
filesystem supported by O_TMPFILE.

If I'm understanding correctly (I'm very possibly not!), tmpfs is
a filesystem built on shmem, so I think it's more correct (and
probably much more widely understandable) to refer to tmpfs here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alyssa Ross 2021-02-10 17:42:45 +00:00 committed by Michael Kerrisk
parent 788c381c4b
commit 7a0095a542
2 changed files with 3 additions and 3 deletions

View File

@ -885,7 +885,7 @@ as described above).
requires support by the underlying filesystem;
only a subset of Linux filesystems provide that support.
In the initial implementation, support was provided in
the ext2, ext3, ext4, UDF, Minix, and shmem filesystems.
the ext2, ext3, ext4, UDF, Minix, and tmpfs filesystems.
.\" To check for support, grep for "tmpfile" in kernel sources
Support for other filesystems has subsequently been added as follows:
XFS (Linux 3.15);

View File

@ -208,11 +208,11 @@ Support for various filesystems was added as follows:
ext4 (Linux 3.15);
.\" ext4: commit 0a7c3937a1f23f8cb5fc77ae01661e9968a51d0c
.IP *
btrfs, shmem, and cifs (Linux 3.17);
btrfs, tmpfs, and cifs (Linux 3.17);
.IP *
xfs (Linux 4.0);
.\" btrfs: commit 80ace85c915d0f41016f82917218997b72431258
.\" shmem: commit 3b69ff51d087d265aa4af3a532fc4f20bf33e718
.\" tmpfs: commit 3b69ff51d087d265aa4af3a532fc4f20bf33e718
.\" cifs: commit 7c33d5972ce382bcc506d16235f1e9b7d22cbef8
.\"
.\" gfs2 in 4.2?