[Bug 1399] add statfs extension to sftp-server

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Mar 24 00:09:47 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1399


Damien Miller <djm at mindrot.org> changed:

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




--- Comment #4 from Damien Miller <djm at 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 at 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.


More information about the openssh-bugs mailing list