Re: [PATCH] open.2, rename.2: refer to tmpfs rather than shmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alyssa,

On 2/10/21 6:42 PM, Alyssa Ross wrote:
> 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.

Agreed. Thanks for the patch. I've applied.

Cheers,

Michael

> ---
>  man2/open.2   | 2 +-
>  man2/rename.2 | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man2/open.2 b/man2/open.2
> index b30dc1532..03fff1b65 100644
> --- a/man2/open.2
> +++ b/man2/open.2
> @@ -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);
> diff --git a/man2/rename.2 b/man2/rename.2
> index 527bafacf..cb36405fe 100644
> --- a/man2/rename.2
> +++ b/man2/rename.2
> @@ -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?
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux