11 releases (3 stable)
1.2.0 | Sep 7, 2024 |
---|---|
1.1.0 | Apr 30, 2024 |
1.0.0 | Feb 26, 2023 |
0.2.1 | Feb 25, 2023 |
0.1.2 | May 23, 2019 |
#14 in Windows APIs
51,726 downloads per month
Used in 46 crates
(25 directly)
37KB
590 lines
junction
Library for working with NTFS junctions.
As opposed to symlinks, junction does not require administrator privileges during creation. (However starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator)^1.
Quoted from Computer Hope:
A junction, also called an NTFS junction point, is a feature of the NTFS file system. It is pointer to a directory on the local volume, similar to a symlink. It can be accessed through the Windows GUI in addition to the Windows command line. Junction points were first introduced with Windows 2000 and NTFS 3.0, and are supported in all subsequent versions of Windows.
Minimal Supported Rust versions
1.57.0
All relevant references
- https://www.codeproject.com/Articles/194/Windows-2000-Junction-Points#The_Solution
- https://www.codeproject.com/Articles/15633/Manipulating-NTFS-Junction-Points-in-NET
- https://web.archive.org/web/20230411010804/http://www.flexhex.com/docs/articles/hard-links.phtml
- https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html
- https://github.com/googleprojectzero/symboliclink-testing-tools/blob/master/DumpReparsePoint/DumpReparsePoint.cpp
- https://github.com/googleprojectzero/symboliclink-testing-tools/blob/master/CommonUtils/ReparsePoint.cpp
- https://github.com/containerd/continuity/blob/master/syscallx/syscall_windows.go
License
All the code in this repository is released under the MIT License, for more information, please read COPYRIGHT file.
Dependencies
~0–8MB
~62K SLoC