Caolan McNamara said:
> > http://www.microsoft.com/presspass/features/2000/02-28w2k.asp>> Surely it would be a hard link so if one gets deleted then the other one
> will remain ? Anyhow you could half implement this for pretty much any
> unix os in a very short period of time i.e. a find script that computes
> the md5 hash of each file, sort the list, when there are duplicate
> entries then delete all but one and hard link the deleted names to the
> remaining duplicate.
The Camel book used to have an example script called "lndir" IIRC, which
did exactly this (as long as everything was on one fs of course).
> wanted Im sure you could add a "middling link" to linux which treats
> modification of one of the links the same as a hard link treats a
> deletion of one of its links. Decrement the count but create a copy
> as well and off you go... Pretty much in the spirit of copy on write
> memory accesses.
That would be cool. BTW despite what the slashdotters say, I don't think
that's what MS is talking about -- as far as I can see it's just the same
as lndir did.
--j.
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!