docs: add xenstore-read and xenstore-write man pages
PATCH v2 1/2 docs: add xenstore-read and xenstore-write man pages
---
Changes in v2:
- new patch
--- docs/man/xenstore-read.pod.1 | 28 ++++++++++++++++++++++++++++ docs/man/xenstore-write.pod.1 | 25 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 docs/man/xenstore-read.pod.1 create mode 100644 docs/man/xenstore-write.pod.1
docs/man/xenstore-read.pod.1 new file +28 -0
@@ -0,0 +1,28 @@ +=head1 NAME + +xenstore-read - read Xenstore values + +=head1 SYNOPSIS + +B<xenstore-read> [I<OPTION>]... [I<PATH>]... + +=head1 DESCRIPTION + +Read values of one or more Xenstore I<PATH>s. + +=over + +=item B<-p> + +Prefix value with key name. + +=item B<-s> + +Connect to the Xenstore daemon using a local socket only. + +=back + +=head1 BUGS + +Send bugs to [email protected], see +http://wiki.xen.org/xenwiki/ReportingBugs on how to send bug reports.
docs/man/xenstore-write.pod.1 new file +25 -0
@@ -0,0 +1,25 @@ +=head1 NAME + +xenstore-write - write Xenstore values + +=head1 SYNOPSIS + +B<xenstore-read> [I<OPTION>]... I<PATH> I<VALUE>... + +=head1 DESCRIPTION + +Write I<VALUE>s to Xenstore I<PATH>s. Multiple pairs I<PATH> I<VALUE> can be +provided to write them at once - in one Xenstore transaction. + +=over + +=item B<-s> + +Connect to the Xenstore daemon using a local socket only. + +=back + +=head1 BUGS + +Send bugs to [email protected], see +http://wiki.xen.org/xenwiki/ReportingBugs on how to send bug reports.
Signature · 7 lines
2.17.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH v2 2/2 xenstore-client: Add option for raw in-/output
From: Simon Gaiser <[email protected]>
Parsing/generating the escape sequences used by xenstore-client is non trivial. So make scripting (for use in stubdom) easier by adding a raw option.
---
Changes in v2:
- man page entries
- factor out expand_buffer
--- docs/man/xenstore-read.pod.1 | 4 ++ docs/man/xenstore-write.pod.1 | 4 ++ tools/xenstore/xenstore_client.c | 65 ++++++++++++++++++++++++-------- 3 files changed, 57 insertions(+), 16 deletions(-)
docs/man/xenstore-read.pod.1 +4 -0
@@ -20,6 +20,10 @@ Prefix value with key name. Connect to the Xenstore daemon using a local socket only. +=item B<-R> + +Read raw value, skip escaping non-printable characters (\x..). + =back =head1 BUGS
docs/man/xenstore-write.pod.1 +4 -0
@@ -17,6 +17,10 @@ provided to write them at once - in one Xenstore transaction. Connect to the Xenstore daemon using a local socket only. +=item B<-R> + +Write raw value, skip parsing escaped characters (\x..). + =back =head1 BUGS
tools/xenstore/xenstore_client.c +49 -16
143 lines not on this page · raw message
Signature · 7 lines
2.17.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 2/2] xenstore-client: Add option for raw in-/output
Quoted 8 lines · Marek Marczykowski-Górecki
From: Simon Gaiser <[email protected]>
Parsing/generating the escape sequences used by xenstore-client is non trivial. So make scripting (for use in stubdom) easier by adding a raw option.
[added man page entries, facor out expand_buffer]Signed-off-by Marek Marczykowski-Górecki <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 1 line · Marek Marczykowski-Górecki
Signed-off-by Marek Marczykowski-Górecki <[email protected]>
Thanks for doing this!
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel