Quoting Ronan Waide <waider at waider.ie>:
> Sure, but soft links would do the same. To be honest, I'm trying to
> think of a useful use of hard links right now, and I'm a little
> stumped. There's gotta be some benefit that I'm missing that's
> immediately obvious to everyone.
No there doesn't :-) . The Bell labs Unix people implemented hard
links, whereas Bill Joy and co. at Berkeley implemented soft links,
five years later, mainly to get around not being able to do
cross-device hard linking, as I understand it. Soft links are fairly
classic Berkeley hackery (cf. gethostbyname, h_errno, and the
resultant problems implementing mt-safe interfaces); they do what they
were intended for, but break fairly easily, in this case when the
target file was deleted. For a better design for similar ideas, see
the MacOS.
--
I'm not a pheasant plucker / I'm a pheasant plucker's son.
I'm just a'plucking pheasants / 'Til the pheasant plucker comes.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!