… for more information about reparse points, junction points, volume mount points, symbolic links on NTFS drive (“reparse points” is the generic term for all of them) led me to write a tool called looklink
. I put it into the PUBLIC DOMAIN in order to allow others to make use of the CReparsePoint
class. The (obsolete as of 2010-01-27)CSimpleBuf
class was merely used for convenience, but could be easily replaced by new
/delete[]
or any other approach.
The tool itself may only be of limited use to the average user, but it allows to get some insight into the innards of reparse points, although the exposed feature set is relatively limited. The class itself, however, allows for a little more …
// Oliver
Download: looklink.zip (approx. 90 KiB)
REDISTRIBUTION TERMS: The source is of course included. The whole package is released into the PUBLIC DOMAIN. Disclaimer: This software is provided ‘as-is’, without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software.
NOTE: The (obsolete as of 2010-01-27)SimpleBuffer.h
has its own license and is not released into the public domain, since I do not own the copyright for it! It is available under the BSD license.
Update #1: see the comment section for details.
To the extent possible under law,
Oliver Schneider
has waived all copyright and related or neighboring rights to
looklink tool and CReparsePoint class.
Updated the project and the CReparsePoint class. It does now handle the volume mount point detection properly, even though this does not mean it is located in the list kept in the NTFS attributes.
I’ll very likely add the ability to create and modify symlinks as well 😉
// Oliver
Added a member function to return the status of the FILE_ATTRIBUTE_VIRTUAL bit.
// Oliver
CReparsePoint now owns a much simpler rewrite of the CSimpleBuf template class. This also helps to offer the whole project under PUBLIC DOMAIN now.