X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=c9890a67cdad691d58b1175dbdbff0e4f1b369e6;hb=6af1cd7245de0183404ea6aadda4c2f63f9f616b;hp=e94fcbde2a0e4f91f5067695c9292811197092c2;hpb=eeaab2ba84441a96977281a4472b1bccb9ec80a9;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index e94fcbd..c9890a6 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -4190,7 +4190,7 @@ bytes of the file, starting at C, from file C. This may read fewer bytes than requested. For further details see the L system call. -See also C."); +See also C, C."); ("part_init", (RErr, [Device "device"; String "parttype"]), 208, [], [InitEmpty, Always, TestRun ( @@ -5183,6 +5183,19 @@ probably impossible with standard Linux kernels). See also C."); + ("pread_device", (RBufferOut "content", [Device "device"; Int "count"; Int64 "offset"]), 276, [ProtocolLimitWarning], + [InitEmpty, Always, TestOutputBuffer ( + [["pread_device"; "/dev/sdd"; "8"; "32768"]], "\001CD001\001\000")], + "read part of a device", + "\ +This command lets you read part of a file. It reads C +bytes of C, starting at C. + +This may read fewer bytes than requested. For further details +see the L system call. + +See also C."); + ] let all_functions = non_daemon_functions @ daemon_functions