Rev 104 | Rev 106 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 104 | Rev 105 | ||
---|---|---|---|
Line 73... | Line 73... | ||
73 | However, my test system (Win98, INFO2 record) showed a weird behavior: |
73 | However, my test system (Win98, INFO2 record) showed a weird behavior: |
74 | Explorer shows "size used" as 4 KiB (e.g. 4096 bytes used, which is my file system cluster size), |
74 | Explorer shows "size used" as 4 KiB (e.g. 4096 bytes used, which is my file system cluster size), |
75 | but when the file was moved to the recycle bin, the INFO2 record stores 32 KiB. |
75 | but when the file was moved to the recycle bin, the INFO2 record stores 32 KiB. |
76 | The GUI displays the file as 1 KB (it must get that number from the data file, not from the index file). |
76 | The GUI displays the file as 1 KB (it must get that number from the data file, not from the index file). |
77 | 77 | ||
- | 78 | WinNT4 does it correctly, setting the size to 0x200 (512 Byte), which is the file system cluster size. |
|
- | 79 | ||
78 | ### Deleted files |
80 | ### Deleted files |
79 | 81 | ||
80 | For Windows 95/NT4 with IE4 integration, and all OS versions above: |
82 | For Windows 95 with IE4 integration, and all OS versions above: |
81 | When a file is removed from the recycle bin (i.e. deleted or recovered), |
83 | When a file is removed from the recycle bin (i.e. deleted or recovered), |
82 | the first byte of the original filename will be set to a zero byte, |
84 | the first byte of the original filename will be set to a zero byte, |
83 | making the zero-terminated string empty. This way, the record is marked as deleted |
85 | making the zero-terminated string empty. This way, the record is marked as deleted |
84 | and the INFO/INFO2 file does not need to be reorganized like it was the case for Win95/NT4 without IE4. |
86 | and the INFO/INFO2 file does not need to be reorganized like it was the case for WinNT4 and Win95 without IE4. |
85 | 87 | ||
86 | When the recycle bin is emptied (NOT if all files were manually deleted or recovered), |
88 | When the recycle bin is emptied (NOT if all files were manually deleted or recovered), |
87 | then the INFO und INFO2 files are removed. |
89 | then the INFO und INFO2 files are removed. |
88 | 90 | ||
89 | ## $I... files of Windows Vista and above |
91 | ## $I... files of Windows Vista and above |