https://bugs.winehq.org/show_bug.cgi?id=22749
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Hard link creation from a |Hard link creation from a |Finddupe-generated batch |Finddupe-generated batch |file fails (needs |file fails ('fsutil.exe' |fsutil.exe implemented) |needs to support 'hardlink | |create' command) CC| |focht@gmx.net Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/fsutil-Stub_Pr |er/patches/fsutil-Stub_Prog |ogram |ram
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ wine ./finddupe.exe -hardlink -bat test.bat z:/home/focht/.wine/drive_c ... Duplicate: 'z:\home\focht.wine\drive_c\windows\system32\gdiplus.dll' With: 'z:\home\focht.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_deadbeef\gdiplus.dll' Duplicate: 'z:\home\focht.wine\drive_c\windows\system32\gdiplus.dll' With: 'z:\home\focht.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef\gdiplus.dll'
Files: 213120 kBytes in 951 files Dupes: 1584 kBytes in 497 files --- snip ---
--- snip --- $ cat test.bat ... del "z:\home\focht.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef\gdiplus.dll"
fsutil hardlink create "z:\home\focht.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef\gdiplus.dll" "z:\home\focht.wine\drive_c\windows\system32\gdiplus.dll" --- snip ---
--- snip --- $ wine fsutil hardlink create "z:\home\focht.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef\gdiplus.dll" "z:\home\focht.wine\drive_c\windows\system32\gdiplus.dll"
0009:fixme:fsutil:wmain stub: L"C:\windows\system32\fsutil.exe" L"hardlink" L"create" L"z:\home\focht\.wine\drive_c\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef\gdiplus.dll" L"z:\home\focht\.wine\drive_c\windows\system32\gdiplus.dll" --- snip ---
--- snip --- $ stat .wine/drive_c/windows/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef/gdiplus.dll File: ‘.wine/drive_c/windows/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef/gdiplus.dll’ Size: 2364 Blocks: 8 IO Block: 4096 regular file Device: 31h/49d Inode: 1644304 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ focht) Gid: ( 1000/ focht) Context: unconfined_u:object_r:user_home_t:s0 Access: 2018-03-04 20:05:37.955353215 +0100 Modify: 2018-03-04 20:02:56.450882224 +0100 Change: 2018-03-04 20:02:56.450882224 +0100 Birth: -
$ stat .wine/drive_c/windows/system32/gdiplus.dll File: ‘.wine/drive_c/windows/system32/gdiplus.dll’ Size: 2364 Blocks: 8 IO Block: 4096 regular file Device: 31h/49d Inode: 1643720 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1000/ focht) Gid: ( 1000/ focht) Context: unconfined_u:object_r:user_home_t:s0 Access: 2018-03-04 20:05:37.754352592 +0100 Modify: 2018-03-04 20:02:56.449882221 +0100 Change: 2018-03-04 20:02:56.449882221 +0100 Birth: - --- snip ---
$ sha1sum finddupe.exe a3a5fee72b0efe2f85ec9e41ff5683e0e8c09dc8 finddupe.exe
$ du -sh finddupe.exe 52K finddupe.exe
$ wine --version wine-3.3
Regards