Message397077
> In Windows there is an fast API to copy file in kernel mode: CopyFile
The possibility of calling CopyFileEx() for shutil.copy2() is discussed in issue 30044. Note that CopyFileEx() is a high-level Windows API function, not a "kernel mode" copy. It opens the source and destination files and makes multiple system calls in order to copy file data and metadata (e.g. system calls such as NtOpenFile, NtCreateFile, NtReadFile, NtWriteFile, NtQueryInformationFile, NtSetInformationFile, NtQueryEaFile, NtSetEaFile, NtQuerySecurityObject, etc). This includes copying the primary data stream, alternate data streams, file attributes, extended file attributes, and security resource attributes. |
|
Date |
User |
Action |
Args |
2021-07-07 12:53:57 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, sfmc |
2021-07-07 12:53:57 | eryksun | set | messageid: <1625662437.87.0.578670660254.issue44579@roundup.psfhosted.org> |
2021-07-07 12:53:57 | eryksun | link | issue44579 messages |
2021-07-07 12:53:57 | eryksun | create | |
|