diff options
author | Richard Jones <rjones@redhat.com> | 2010-04-29 13:55:52 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-04-29 13:55:52 +0100 |
commit | 55641f5d1e9964f8a039005b511b8e688c92cddb (patch) | |
tree | 23c5ac8693f9956afb9e93584f8b654bac975bf1 /src/guestfs.pod | |
parent | d3be0facdd688f06eb4bc3743b53226f2d060482 (diff) | |
download | libguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.tar.gz libguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.tar.xz libguestfs-55641f5d1e9964f8a039005b511b8e688c92cddb.zip |
guestfs(3): Documentation on protocol gotchas.
Diffstat (limited to 'src/guestfs.pod')
-rw-r--r-- | src/guestfs.pod | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index 584e996a..e1fa4f5a 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -610,6 +610,23 @@ the error message was also unintuitive, but we have corrected this since. Like the Bourne shell, we should have used C<guestfish -c command> to run commands. +=item Protocol limit of 256 characters for error messages + +This limit is both rather small and quite unnecessary. We should be +able to return error messages up to the length of the protocol message +(2-4 MB). + +Note that we cannot change the protocol without some breakage, because +there are distributions that repackage the Fedora appliance. + +=item Protocol should return errno with error messages. + +It would be a nice-to-have to be able to get the original value of +'errno' from inside the appliance along error paths (where set). +Currently L<guestmount(1)> goes through hoops to try to reverse the +error message string into an errno, see the function error() in +fuse/guestmount.c. + =back =head2 PROTOCOL LIMITS |