2 ms·
> If the :stream syntax is not FS-specific It is, I believe, as I alluded to in the comment. > `\\?\GLOBALROOT\DosDevices\X\Y:Z\A:B` is harder to parse As in
by dataflow 3y ago
> If the :stream syntax is not FS-specific
It is, I believe, as I alluded to in the comment.
> `\\?\GLOBALROOT\DosDevices\X\Y:Z\A:B` is harder to parse
As in, this is impossible to do statically in the general case - those names aren't guaranteed to look like that. See the note I had added about mount points. Remember C:\mnt can itself be the mount point of a volume instead of a drive letter. (Junctions present a similar problem, but at least for those, you can make an argument that they're intended to look like physical folders, and treat them similarly. With mount points, you might not have that intention - you might be just trying to go over 26 drive letters.)
- arthur2e5 3y ago> It is, I believe, as I alluded to in the comment. The FILE_STANDARD_INFORMATION_EX structure alludes to a common handling of alternateStream. Winbtrfs is a great resource on this, since it implements many bells and whistles from NTFS in an open way -- you just grep for a keyword and you will be close. The code exercising the Windows API for testing is src/tests /streams.cpp. Grep on FILE_STREAM_INFORMATION in the source should provide more useful hits on the source, but phone browsers are clumsy.