summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-09 23:49:09 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-09 23:49:09 +1000
commitcd2ada6d06e2570fa4f17a78a99b4a151a750427 (patch)
tree98dc96dbc6f628ce6360bd7ddf974147cf3fba0f
parent17ec5d4e028398113b4c6fda654faf65e8c27e64 (diff)
- dtucker@cvs.openbsd.org 2008/06/08 20:15:29
[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.
-rw-r--r--PROTOCOL10
1 files changed, 5 insertions, 5 deletions
diff --git a/PROTOCOL b/PROTOCOL
index abe217673..74f69b88f 100644
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -133,8 +133,8 @@ These requests return a SSH_FXP_STATUS reply on failure. On success they
133return the following SSH_FXP_EXTENDED_REPLY reply: 133return the following SSH_FXP_EXTENDED_REPLY reply:
134 134
135 uint32 id 135 uint32 id
136 uint32 f_bsize /* file system block size */ 136 uint64 f_bsize /* file system block size */
137 uint32 f_frsize /* fundamental fs block size */ 137 uint64 f_frsize /* fundamental fs block size */
138 uint64 f_blocks /* number of blocks (unit f_frsize) */ 138 uint64 f_blocks /* number of blocks (unit f_frsize) */
139 uint64 f_bfree /* free blocks in file system */ 139 uint64 f_bfree /* free blocks in file system */
140 uint64 f_bavail /* free blocks for non-root */ 140 uint64 f_bavail /* free blocks for non-root */
@@ -142,8 +142,8 @@ return the following SSH_FXP_EXTENDED_REPLY reply:
142 uint64 f_ffree /* free file inodes */ 142 uint64 f_ffree /* free file inodes */
143 uint64 f_favail /* free file inodes for to non-root */ 143 uint64 f_favail /* free file inodes for to non-root */
144 uint64 f_fsid /* file system id */ 144 uint64 f_fsid /* file system id */
145 uint32 f_flag /* bit mask of f_flag values */ 145 uint64 f_flag /* bit mask of f_flag values */
146 uint32 f_namemax /* maximum filename length */ 146 uint64 f_namemax /* maximum filename length */
147 147
148The values of the f_flag bitmask are as follows: 148The values of the f_flag bitmask are as follows:
149 149
@@ -153,5 +153,5 @@ The values of the f_flag bitmask are as follows:
153This extension is advertised in the SSH_FXP_VERSION hello with version 153This extension is advertised in the SSH_FXP_VERSION hello with version
154"2". 154"2".
155 155
156$Id: PROTOCOL,v 1.2 2008/06/09 13:47:37 dtucker Exp $ 156$Id: PROTOCOL,v 1.3 2008/06/09 13:49:09 dtucker Exp $
157 157