https://bugzilla.mindrot.org/show_bug.cgi?id=3798
Bug ID: 3798 Summary: Add native sparse file support (SEEK_HOLE, SEEK_DATA) to scp/sftp Product: Portable OpenSSH Version: 9.9p2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: sftp-server Assignee: unassigned-b...@mindrot.org Reporter: lionelcons1...@gmail.com Please add NATIVE sparse file support in scp/sftp via SEEK_DATA/SEEK_HOLE on POSIX(https://pubs.opengroup.org/onlinepubs/9799919799/functions/lseek.html) or Windows FSCTL_QUERY_ALLOCATED_RANGES (https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioctl-fsctl_query_allocated_ranges). We need that because people have tried to copy sparse file before, and it either RUINED the files (by making them non-sparse, the holes were filled-in with 0 byte data), or copies took forever because the holes in sparse files are very large (e.g. multi TB size). -- 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