Mailing List Archive

[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399


Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|bitbucket@mindrot.org |djm@mindrot.org
Attachment #1393|0 |1
is obsolete| |




--- Comment #4 from Damien Miller <djm@mindrot.org> 2008-03-24 00:09:42 ---
Created an attachment (id=1475)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1475)
statvfs support for client and server

This diff implements a statvfs@openssh.com method in the server and
adds a "df" command to the client to use it:

sftp> df
Size Used Avail (root) %Capacity
33003120 11227184 20125792 21775936 34%
sftp> df -h
Size Used Avail (root) %Capacity
31.5GB 10.7GB 19.2GB 20.8GB 34%
sftp> df -i
Inodes Used Avail (root) %Capacity
545662 110326 435336 435336 20%

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1399] add statfs extension to sftp-server [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1399





--- Comment #5 from Miklos Szeredi <miklos@szeredi.hu> 2008-03-28 02:55:03 ---
Thanks.

One small comment about the patch:

This line in process_extended_fstatvfs() is wrong, it shouldn't be
there:

+ id = get_int();

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs