[Nottingham] Fun with "ln" (links)

Martin martin at ml1.co.uk
Sun Dec 17 01:38:24 GMT 2006


A possibly interesting conundrum...

Is it possible to use hard links to link to one copy of file data such
that there are two or more independent file names and file attributes?

Just using "ln" works by two filenames pointing to the one set of
inseparable file data + file attributes.

Alternatives?

I don't want to use symbolic links because I don't want to risk losing
the data by deletion of the pointer-to file, yet I want the data to be
deleted when all the links are removed.

This is for my own version of versioned backups.

Ideas?

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list