[php-src] Issue #8393: Can't understand mount point directories on Windows
| From: | ggets | Date: | Tue, 19 Apr 2022 12:17:43 +0000 |
| Subject: | [php-src] Issue #8393: Can't understand mount point directories on Windows | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241071@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8393
Comment Author: ggets
**R:** is just a regular DOS Device mount point, mounted via registry like so:
`Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"R:"="\\??\\C:\\bin\\mapdrive"
`
From what I tested it is not the culprit of the problem as the reparsePoint behaved similarly in a
regular folder.
I should mention that **R:\dreamflame.in** is a rclone mount.
Output of
fsutil reparsePoint query R:\dreamflame.in:
`Reparse Tag Value : 0xa0000003
Tag value: Microsoft
Tag value: Name Surrogate
Tag value: Mount Point
Substitue Name offset: 0
Substitue Name length: 106
Print Name offset: 108
Print Name Length: 106
Substitute Name: \Device\Volume{a9035697-be97-11ec-8a2b-4851c5094231}\
Print Name: \Device\Volume{a9035697-be97-11ec-8a2b-4851c5094231}\
Reparse Data Length: 0xe0
Reparse Data:
0000: 00 00 6a 00 6c 00 6a 00 5c 00 44 00 65 00 76 00 ..j.l.j.\.D.e.v.
0010: 69 00 63 00 65 00 5c 00 56 00 6f 00 6c 00 75 00 i.c.e.\.V.o.l.u.
0020: 6d 00 65 00 7b 00 61 00 39 00 30 00 33 00 35 00 m.e.{.a.9.0.3.5.
0030: 36 00 39 00 37 00 2d 00 62 00 65 00 39 00 37 00 6.9.7.-.b.e.9.7.
0040: 2d 00 31 00 31 00 65 00 63 00 2d 00 38 00 61 00 -.1.1.e.c.-.8.a.
0050: 32 00 62 00 2d 00 34 00 38 00 35 00 31 00 63 00 2.b.-.4.8.5.1.c.
0060: 35 00 30 00 39 00 34 00 32 00 33 00 31 00 7d 00 5.0.9.4.2.3.1.}.
0070: 5c 00 00 00 5c 00 44 00 65 00 76 00 69 00 63 00 \...\.D.e.v.i.c.
0080: 65 00 5c 00 56 00 6f 00 6c 00 75 00 6d 00 65 00 e.\.V.o.l.u.m.e.
0090: 7b 00 61 00 39 00 30 00 33 00 35 00 36 00 39 00 {.a.9.0.3.5.6.9.
00a0: 37 00 2d 00 62 00 65 00 39 00 37 00 2d 00 31 00 7.-.b.e.9.7.-.1.
00b0: 31 00 65 00 63 00 2d 00 38 00 61 00 32 00 62 00 1.e.c.-.8.a.2.b.
00c0: 2d 00 34 00 38 00 35 00 31 00 63 00 35 00 30 00 -.4.8.5.1.c.5.0.
00d0: 39 00 34 00 32 00 33 00 31 00 7d 00 5c 00 00 00 9.4.2.3.1.}.\...`