mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
+1
-1
@@ -75,7 +75,7 @@ Custom
|
||||
.Ev $PATH
|
||||
for zedlets to use.
|
||||
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
|
||||
.Ev $PATH .
|
||||
This is done for security reasons.
|
||||
|
||||
+12
-12
@@ -215,19 +215,19 @@ send subcommand
|
||||
share subcommand Allows sharing file systems over NFS or SMB protocols
|
||||
snapshot subcommand Must also have the \fBmount\fR ability
|
||||
|
||||
groupquota other Allows accessing any \fBgroupquota@\fI...\fR property
|
||||
groupobjquota other Allows accessing any \fBgroupobjquota@\fI...\fR property
|
||||
groupused other Allows reading any \fBgroupused@\fI...\fR property
|
||||
groupobjused other Allows reading any \fBgroupobjused@\fI...\fR property
|
||||
groupquota other Allows accessing any \fBgroupquota@\fI…\fR property
|
||||
groupobjquota other Allows accessing any \fBgroupobjquota@\fI…\fR property
|
||||
groupused other Allows reading any \fBgroupused@\fI…\fR property
|
||||
groupobjused other Allows reading any \fBgroupobjused@\fI…\fR property
|
||||
userprop other Allows changing any user property
|
||||
userquota other Allows accessing any \fBuserquota@\fI...\fR property
|
||||
userobjquota other Allows accessing any \fBuserobjquota@\fI...\fR property
|
||||
userused other Allows reading any \fBuserused@\fI...\fR property
|
||||
userobjused other Allows reading any \fBuserobjused@\fI...\fR property
|
||||
projectobjquota other Allows accessing any \fBprojectobjquota@\fI...\fR property
|
||||
projectquota other Allows accessing any \fBprojectquota@\fI...\fR property
|
||||
projectobjused other Allows reading any \fBprojectobjused@\fI...\fR property
|
||||
projectused other Allows reading any \fBprojectused@\fI...\fR property
|
||||
userquota other Allows accessing any \fBuserquota@\fI…\fR property
|
||||
userobjquota other Allows accessing any \fBuserobjquota@\fI…\fR property
|
||||
userused other Allows reading any \fBuserused@\fI…\fR property
|
||||
userobjused other Allows reading any \fBuserobjused@\fI…\fR property
|
||||
projectobjquota other Allows accessing any \fBprojectobjquota@\fI…\fR property
|
||||
projectquota other Allows accessing any \fBprojectquota@\fI…\fR property
|
||||
projectobjused other Allows reading any \fBprojectobjused@\fI…\fR property
|
||||
projectused other Allows reading any \fBprojectused@\fI…\fR property
|
||||
|
||||
aclinherit property
|
||||
aclmode property
|
||||
|
||||
@@ -96,16 +96,17 @@ argv = args["argv"]
|
||||
-- argv == {1="arg1", 2="arg2", ...}
|
||||
.Ed
|
||||
.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
|
||||
"..." syntax in Lua:
|
||||
.Qq Li ...
|
||||
syntax in Lua:
|
||||
.Bd -literal -compact -offset indent
|
||||
args = ...
|
||||
-- args == {"foo"="bar", "baz"={...}, ...}
|
||||
.Ed
|
||||
.Pp
|
||||
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
|
||||
in
|
||||
.Va arr[0]
|
||||
@@ -166,7 +167,7 @@ See the
|
||||
section below for function-specific details on error return codes.
|
||||
.
|
||||
.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,
|
||||
and vice-versa.
|
||||
.Pp
|
||||
|
||||
+3
-3
@@ -40,7 +40,7 @@
|
||||
.Nm zfs
|
||||
.Cm send
|
||||
.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
|
||||
.Ar snapshot
|
||||
.Nm zfs
|
||||
@@ -74,7 +74,7 @@
|
||||
.Nm zfs
|
||||
.Cm send
|
||||
.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
|
||||
.Ar snapshot
|
||||
.Xc
|
||||
@@ -142,7 +142,7 @@ If the
|
||||
flag is used to send encrypted datasets, then
|
||||
.Fl w
|
||||
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
|
||||
.Fl R
|
||||
flag is given,
|
||||
|
||||
Reference in New Issue
Block a user