man: ... -> … again
zfs-program.8 is left, but that's literal Lua syntax Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13255
This commit is contained in:
parent
b1fb4e1ba4
commit
e37e7dd6a6
|
@ -388,7 +388,7 @@ privilege with
|
||||||
can access everyone's usage.
|
can access everyone's usage.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Sy userused Ns @ Ns Ar ...
|
.Sy userused Ns @ Ns Ar …
|
||||||
properties are not displayed by
|
properties are not displayed by
|
||||||
.Nm zfs Cm get Sy all .
|
.Nm zfs Cm get Sy all .
|
||||||
The user's name must be appended after the
|
The user's name must be appended after the
|
||||||
|
@ -872,14 +872,17 @@ This is done using
|
||||||
.Sy zstd-fast- Ns Ar N ,
|
.Sy zstd-fast- Ns Ar N ,
|
||||||
where
|
where
|
||||||
.Ar N
|
.Ar N
|
||||||
is an integer in [1-9,10,20,30,...,100,500,1000] which maps to a negative
|
is an integer in
|
||||||
|
.Bq Sy 1 Ns - Ns Sy 10 , 20 , 30 , No … , Sy 100 , 500 , 1000
|
||||||
|
which maps to a negative
|
||||||
.Sy zstd
|
.Sy zstd
|
||||||
level.
|
level.
|
||||||
The lower the level the faster the compression -
|
The lower the level the faster the compression \(em
|
||||||
.Ar 1000 No provides the fastest compression and lowest compression ratio.
|
.Sy 1000
|
||||||
|
provides the fastest compression and lowest compression ratio.
|
||||||
.Sy zstd-fast
|
.Sy zstd-fast
|
||||||
is equivalent to
|
is equivalent to
|
||||||
.Sy zstd-fast-1 .
|
.Sy zstd-fast- Ns Ar 1 .
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Sy zle
|
.Sy zle
|
||||||
|
@ -1315,7 +1318,7 @@ can get and set everyone's quota.
|
||||||
This property is not available on volumes, on file systems before version 4, or
|
This property is not available on volumes, on file systems before version 4, or
|
||||||
on pools before version 15.
|
on pools before version 15.
|
||||||
The
|
The
|
||||||
.Sy userquota@ Ns Ar ...
|
.Sy userquota@ Ns Ar …
|
||||||
properties are not displayed by
|
properties are not displayed by
|
||||||
.Nm zfs Cm get Sy all .
|
.Nm zfs Cm get Sy all .
|
||||||
The user's name must be appended after the
|
The user's name must be appended after the
|
||||||
|
|
|
@ -75,7 +75,7 @@ Custom
|
||||||
.Ev $PATH
|
.Ev $PATH
|
||||||
for zedlets to use.
|
for zedlets to use.
|
||||||
Normally zedlets run in a locked-down environment, with hardcoded paths to the ZFS commands
|
Normally zedlets run in a locked-down environment, with hardcoded paths to the ZFS commands
|
||||||
.Pq Ev $ZFS , $ZPOOL , $ZED , ... ,
|
.Pq Ev $ZFS , $ZPOOL , $ZED , … ,
|
||||||
and a hard-coded
|
and a hard-coded
|
||||||
.Ev $PATH .
|
.Ev $PATH .
|
||||||
This is done for security reasons.
|
This is done for security reasons.
|
||||||
|
|
|
@ -215,19 +215,19 @@ send subcommand
|
||||||
share subcommand Allows sharing file systems over NFS or SMB protocols
|
share subcommand Allows sharing file systems over NFS or SMB protocols
|
||||||
snapshot subcommand Must also have the \fBmount\fR ability
|
snapshot subcommand Must also have the \fBmount\fR ability
|
||||||
|
|
||||||
groupquota other Allows accessing any \fBgroupquota@\fI...\fR property
|
groupquota other Allows accessing any \fBgroupquota@\fI…\fR property
|
||||||
groupobjquota other Allows accessing any \fBgroupobjquota@\fI...\fR property
|
groupobjquota other Allows accessing any \fBgroupobjquota@\fI…\fR property
|
||||||
groupused other Allows reading any \fBgroupused@\fI...\fR property
|
groupused other Allows reading any \fBgroupused@\fI…\fR property
|
||||||
groupobjused other Allows reading any \fBgroupobjused@\fI...\fR property
|
groupobjused other Allows reading any \fBgroupobjused@\fI…\fR property
|
||||||
userprop other Allows changing any user property
|
userprop other Allows changing any user property
|
||||||
userquota other Allows accessing any \fBuserquota@\fI...\fR property
|
userquota other Allows accessing any \fBuserquota@\fI…\fR property
|
||||||
userobjquota other Allows accessing any \fBuserobjquota@\fI...\fR property
|
userobjquota other Allows accessing any \fBuserobjquota@\fI…\fR property
|
||||||
userused other Allows reading any \fBuserused@\fI...\fR property
|
userused other Allows reading any \fBuserused@\fI…\fR property
|
||||||
userobjused other Allows reading any \fBuserobjused@\fI...\fR property
|
userobjused other Allows reading any \fBuserobjused@\fI…\fR property
|
||||||
projectobjquota other Allows accessing any \fBprojectobjquota@\fI...\fR property
|
projectobjquota other Allows accessing any \fBprojectobjquota@\fI…\fR property
|
||||||
projectquota other Allows accessing any \fBprojectquota@\fI...\fR property
|
projectquota other Allows accessing any \fBprojectquota@\fI…\fR property
|
||||||
projectobjused other Allows reading any \fBprojectobjused@\fI...\fR property
|
projectobjused other Allows reading any \fBprojectobjused@\fI…\fR property
|
||||||
projectused other Allows reading any \fBprojectused@\fI...\fR property
|
projectused other Allows reading any \fBprojectused@\fI…\fR property
|
||||||
|
|
||||||
aclinherit property
|
aclinherit property
|
||||||
aclmode property
|
aclmode property
|
||||||
|
|
|
@ -96,16 +96,17 @@ argv = args["argv"]
|
||||||
-- argv == {1="arg1", 2="arg2", ...}
|
-- argv == {1="arg1", 2="arg2", ...}
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
If invoked from the libZFS interface, an arbitrary argument list can be
|
If invoked from the libzfs interface, an arbitrary argument list can be
|
||||||
passed to the channel program, which is accessible via the same
|
passed to the channel program, which is accessible via the same
|
||||||
"..." syntax in Lua:
|
.Qq Li ...
|
||||||
|
syntax in Lua:
|
||||||
.Bd -literal -compact -offset indent
|
.Bd -literal -compact -offset indent
|
||||||
args = ...
|
args = ...
|
||||||
-- args == {"foo"="bar", "baz"={...}, ...}
|
-- args == {"foo"="bar", "baz"={...}, ...}
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Note that because Lua arrays are 1-indexed, arrays passed to Lua from the
|
Note that because Lua arrays are 1-indexed, arrays passed to Lua from the
|
||||||
libZFS interface will have their indices incremented by 1.
|
libzfs interface will have their indices incremented by 1.
|
||||||
That is, the element
|
That is, the element
|
||||||
in
|
in
|
||||||
.Va arr[0]
|
.Va arr[0]
|
||||||
|
@ -166,7 +167,7 @@ See the
|
||||||
section below for function-specific details on error return codes.
|
section below for function-specific details on error return codes.
|
||||||
.
|
.
|
||||||
.Ss Lua to C Value Conversion
|
.Ss Lua to C Value Conversion
|
||||||
When invoking a channel program via the libZFS interface, it is necessary to
|
When invoking a channel program via the libzfs interface, it is necessary to
|
||||||
translate arguments and return values from Lua values to their C equivalents,
|
translate arguments and return values from Lua values to their C equivalents,
|
||||||
and vice-versa.
|
and vice-versa.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
.Cm send
|
.Cm send
|
||||||
.Op Fl DLPRbcehnpsvw
|
.Op Fl DLPRbcehnpsvw
|
||||||
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
|
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
|
||||||
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
||||||
.Ar snapshot
|
.Ar snapshot
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
.Cm send
|
.Cm send
|
||||||
.Op Fl DLPRbcehnpvw
|
.Op Fl DLPRbcehnpvw
|
||||||
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
|
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
|
||||||
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
||||||
.Ar snapshot
|
.Ar snapshot
|
||||||
.Xc
|
.Xc
|
||||||
|
@ -142,7 +142,7 @@ If the
|
||||||
flag is used to send encrypted datasets, then
|
flag is used to send encrypted datasets, then
|
||||||
.Fl w
|
.Fl w
|
||||||
must also be specified.
|
must also be specified.
|
||||||
.It Fl X , -exclude Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
|
.It Fl X , -exclude Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
|
||||||
When the
|
When the
|
||||||
.Fl R
|
.Fl R
|
||||||
flag is given,
|
flag is given,
|
||||||
|
|
Loading…
Reference in New Issue