bugzilla-daemon at bugzilla.mindrot.org
2007-Dec-10 20:52 UTC
[Bug 1399] New: add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399
Summary: add statfs extension to sftp-server
Classification: Unclassified
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp-server
AssignedTo: bitbucket at mindrot.org
ReportedBy: miklos at szeredi.hu
This is needed to be able to support statfs operation on an SSH
filesystem (http://fuse.sourceforge.net/sshfs.html).
It uses and sends only those fields of struct statfs which are common
with struct statvfs as defined by POSIX, and which are shared among
most UNIX-like systems.
The SSH_FXP_EXTENDED message type is used, so this change is backward
compatible and conforms to the protocol specification.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Dec-10 21:02 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399 --- Comment #1 from Miklos Szeredi <miklos at szeredi.hu> 2007-12-11 08:01:58 --- Created an attachment (id=1393) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1393) [PATCH] add statfs extension to sftp-server -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Dec-21 01:26 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
CC| |djm at mindrot.org
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-19 21:14 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399 --- Comment #2 from Damien Miller <djm at mindrot.org> 2008-01-20 08:14:10 --- Wouldn't this be better as a statvfs method? OpenBSD doesn't yet support it, but it will soon. -- 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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-21 21:13 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399 --- Comment #3 from Miklos Szeredi <miklos at szeredi.hu> 2008-01-22 08:13:25 --- Sure, I'll update the patch to use statvfs. When is this support planned? -- 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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Mar-23 13:09 UTC
[Bug 1399] add statfs extension to sftp-server
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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Mar-27 15:55 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399 --- Comment #5 from Miklos Szeredi <miklos at 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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Apr-18 12:33 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1452
--- Comment #6 from Damien Miller <djm at mindrot.org> 2008-04-18
22:33:15 ---
Patch committed (with the suggested fix), this will be in OpenSSH 5.1.
Thanks!
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Apr-18 12:44 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Damien Miller <djm at mindrot.org> 2008-04-18
22:44:09 ---
Patch committed (with the suggested fix), this will be in OpenSSH 5.1.
Thanks!
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-22 02:20 UTC
[Bug 1399] add statfs extension to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1399
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Damien Miller <djm at mindrot.org> 2008-07-22
12:20:34 ---
Mass update RESOLVED->CLOSED after release of openssh-5.1
--
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.
Possibly Parallel Threads
- [PATCH] add statfs extension to sftp-server
- [Bug 1400] New: add atomic rename extension to sftp-server
- [Bug 1555] New: add hard link and attribute extensions to sftp-server
- [sshfs] sshfs mounted applications fail with "error loading shared libraries"
- [PATCH 00/18] virtiofs: Fix various races and cleanups round 1