4 ms·
> macOS allows it as of 10.5, but it is not exposed to the user. Depends what you mean by "not exposed to the user": while ln(1) can't create directory hardlin
by masklinn 5y ago
> macOS allows it as of 10.5, but it is not exposed to the user.
Depends what you mean by "not exposed to the user": while ln(1) can't create directory hardlinks it works fine via link(2) (on HFS+), with the limitation that hardlinked directories can't be siblings.
And of course directory hardlinks are fucking terrifying because `unlink(1)` will not work, and `rm(1)` will recursively remove directory contents, so you need to go through `unlink(2)` in C.