mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
posixshmcontrol.1: Document posixshmcontrol create -l
Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D40270
This commit is contained in:
parent
9fb6718d1b
commit
db289ababf
|
@ -27,7 +27,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 26, 2022
|
.Dd May 25, 2023
|
||||||
.Dt POSIXSHMCONTROL 1
|
.Dt POSIXSHMCONTROL 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -36,6 +36,7 @@
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Ar create
|
.Ar create
|
||||||
|
.Op Fl l Ar pagesize
|
||||||
.Op Fl m Ar mode
|
.Op Fl m Ar mode
|
||||||
.Op Pa path \&...
|
.Op Pa path \&...
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -79,10 +80,24 @@ for transient references.
|
||||||
The following subcommands are provided:
|
The following subcommands are provided:
|
||||||
.Bl -tag -width truncate
|
.Bl -tag -width truncate
|
||||||
.It Ic create
|
.It Ic create
|
||||||
Create segments with the specified paths, if not exist.
|
Create segments with the specified paths, if they do not already exist.
|
||||||
|
.Pp
|
||||||
|
The optional
|
||||||
|
.Ar pagesize
|
||||||
|
argument specifies the size of the virtual pages used to map the
|
||||||
|
object with
|
||||||
|
.Xr mmap 2 .
|
||||||
|
By default, the system page size is used, but on some platforms a
|
||||||
|
larger page size can be specified.
|
||||||
|
The size of an object backed by large pages must be a multiple of the
|
||||||
|
specified page size.
|
||||||
The
|
The
|
||||||
|
.Va hw.pagesizes
|
||||||
|
sysctl variable lists the available page sizes.
|
||||||
|
.Pp
|
||||||
|
The optional numerical
|
||||||
.Ar mode
|
.Ar mode
|
||||||
optional numerical argument specifies initial access mode.
|
argument specifies the initial access mode.
|
||||||
.It Ic rm
|
.It Ic rm
|
||||||
Unlink the paths specified.
|
Unlink the paths specified.
|
||||||
.It Ic ls
|
.It Ic ls
|
||||||
|
@ -138,12 +153,14 @@ and then enlarge it to 1M, use the sequence of commands
|
||||||
.Xr hexdump 1 ,
|
.Xr hexdump 1 ,
|
||||||
.Xr stat 1 ,
|
.Xr stat 1 ,
|
||||||
.Xr ftruncate 2 ,
|
.Xr ftruncate 2 ,
|
||||||
|
.Xr mmap 2 ,
|
||||||
.Xr read 2 ,
|
.Xr read 2 ,
|
||||||
.Xr shm_open 2 ,
|
.Xr shm_open 2 ,
|
||||||
.Xr shm_unlink 2 ,
|
.Xr shm_unlink 2 ,
|
||||||
.Xr stat 2 ,
|
.Xr stat 2 ,
|
||||||
.Xr expand_number 3 ,
|
.Xr expand_number 3 ,
|
||||||
.Xr humanize_number 3 ,
|
.Xr humanize_number 3 ,
|
||||||
|
.Xr shm_create_largepage 3 ,
|
||||||
.Xr sysctl 3
|
.Xr sysctl 3
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
|
|
Loading…
Reference in a new issue