Hard Links
Cheat sheet · https://pcornel.dk/topic.php?topic=2969
Answer
A hard link is an extra directory entry for the same file on the same NTFS volume; the file stays until all links are removed. Create one with mklink /H link target or fsutil hardlink create.
Remember
- Hard links work only on the same volume.
- The file data stays until the last link is deleted.
- Space is counted once.
First checks
Get-Volume— volumes, filesystem type, health and free spacefsutil fsinfo volumeinfo C:— filesystem featureschkdsk C: /scan— online scanGet-WinEvent -FilterHashtable @{LogName='System';ProviderName='Ntfs'} -MaxEvents 20— NTFS events
Verify in this order
multiple names → same file record on one volume
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2969