Y
Hacker News
new
|
ask
|
show
|
jobs
by
ics
1161 days ago
What system can you hardlink a directory? At least on macOS and FreeBSD the man pages explicitly state that hard links can only be created on files.
2 comments
eyelidlessness
1161 days ago
Nit about macOS: HFS+ supports hard links to directories (added in 10.5 to support Time Machine), but APFS does not.
link
ics
1160 days ago
Interesting, thanks for the information. I had thought it was the same with HFS but guess it's been some time since I used it...
link
toyg
1161 days ago
I believe you can do it on Windows.
link
cptparticles
1161 days ago
Windows does not allow hardlinks to directories, but it does have the concept of junction points.
https://learn.microsoft.com/en-us/sysinternals/downloads/jun...
link