Mailing List Archive

[Bug 1555] add hard link and attribute extensions to sftp-server
https://bugzilla.mindrot.org/show_bug.cgi?id=1555





--- Comment #1 from Miklos Szeredi <miklos@szeredi.hu> 2009-02-13 22:05:28 ---
Created an attachment (id=1601)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1601)
hard link protocol extension for sftp

This patch that adds support for the creation of hard links over SFTP.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1555] add hard link and attribute extensions to sftp-server [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1555





--- Comment #2 from Miklos Szeredi <miklos@szeredi.hu> 2009-02-13 22:07:57 ---
Created an attachment (id=1602)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1602)
add protocol extension to ATTR message

This patch adds all the missing commonly used UNIX attributes: st_dev,
st_ino, st_nlink, st_rdev, st_blocks, st_blksize, st_ctime. In
addition it extends st_atime and st_mtime to 64bits, and adds
nanosecond resolution to all three timestamps.

This is implemented as an extension to the ATTR message. This patch
alone is sufficient for SSHFS to be able to use these attributes. The
following two patches optimize the bandwidth use for this extension.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1555] add hard link and attribute extensions to sftp-server [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1555





--- Comment #3 from Miklos Szeredi <miklos@szeredi.hu> 2009-02-13 22:10:54 ---
Created an attachment (id=1603)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1603)
add attribute configuration message

This patch adds a new extended request with which the client can
request which attributes it wants to receive. By default only the
basic attributes are transferred, but the client can request that any
subset of the basic or extra attributes to be sent. Attributes can be
selected separately for STAT and READDIR requests.

Also there's a flag to turn off the generation of long names in
READDIR requests.

The server also sends the attributes it can actually support in the
attribute configuration reply so the client may make decisions based
on the server's capabilities.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1555] add hard link and attribute extensions to sftp-server [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1555





--- Comment #4 from Miklos Szeredi <miklos@szeredi.hu> 2009-02-13 22:11:41 ---
Created an attachment (id=1604)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1604)
optimize attribute sending

This patch turns off sending unnecessary attributes:

- the nanosecond part of timestamps if they are zero
- the 32bit atime and mtime if the 64bit atime/mtime are sent

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