]> andersk Git - openssh.git/commitdiff
- dtucker@cvs.openbsd.org 2008/06/08 20:15:29
authordtucker <dtucker>
Mon, 9 Jun 2008 13:49:09 +0000 (13:49 +0000)
committerdtucker <dtucker>
Mon, 9 Jun 2008 13:49:09 +0000 (13:49 +0000)
     [PROTOCOL]
     Have the sftp client store the statvfs replies in wire format,
     which prevents problems when the server's native sizes exceed the
     client's.
     Also extends the sizes of the remaining 32bit wire format to 64bit,
     they're specified as unsigned long in the standard.

PROTOCOL

index 055804b7ba08095b9f01774e0b526ba5bfe49c90..35dd23b7ea5bb2dcdb1f5266d279d8cc04fa23bd 100644 (file)
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -133,8 +133,8 @@ These requests return a SSH_FXP_STATUS reply on failure. On success they
 return the following SSH_FXP_EXTENDED_REPLY reply:
 
        uint32          id
-       uint32          f_bsize         /* file system block size */
-       uint32          f_frsize        /* fundamental fs block size */
+       uint64          f_bsize         /* file system block size */
+       uint64          f_frsize        /* fundamental fs block size */
        uint64          f_blocks        /* number of blocks (unit f_frsize) */
        uint64          f_bfree         /* free blocks in file system */
        uint64          f_bavail        /* free blocks for non-root */
@@ -142,8 +142,8 @@ return the following SSH_FXP_EXTENDED_REPLY reply:
        uint64          f_ffree         /* free file inodes */
        uint64          f_favail        /* free file inodes for to non-root */
        uint64          f_fsid          /* file system id */
-       uint32          f_flag          /* bit mask of f_flag values */
-       uint32          f_namemax       /* maximum filename length */
+       uint64          f_flag          /* bit mask of f_flag values */
+       uint64          f_namemax       /* maximum filename length */
 
 The values of the f_flag bitmask are as follows:
 
This page took 0.046055 seconds and 5 git commands to generate.