From: Liam Bedford (lbedford at domain lbedford.org)
Date: Sun 13 May 2001 - 21:36:53 IST
On Sun, May 13, 2001 at 08:35:37PM +0100, Niall O Broin came forth with:
> On Sun, May 13, 2001 at 06:52:55PM +0000, Conor Daly wrote:
> > I have two directories that are identical apart from one file. This file
> > exists with the same name in both directories but with different contents.
> > Now, my problem is this. I want to symlink one directory to the other but I
> > need this file to be different depending on which directory I'm in. This
> > has then to become a CDROM. Is my only option to create the second
> > directory and, within that directory, symlink all the identical files and
> > just keep a copy of the different file? I suspect so but I'd like to be
> > sure.
> That isn't even an option. CDs, even with RockRidge extensions, can't have
> links, neither symbolic nor hard, so your only option is to have duplicate
> sets of files. If this happens to take you past a CD's capacity, then you're
> going to have to re-think what you're doing, otherwise you'll just have to
> live with it
I'm not sure about this... maybe it requires hacking of the iso filesystem,
but it is entirely possible to make two inodes point to the same data...
various games use that as a rudimentary copy protection system (make multiple
files with the same data, if you do a standard file copy, it'll end up
with a larger set of files than was on the cd)
-- Liam Bedford | Four thousand holes in Blackburn, Lancashire Software Engineer | And though the holes were rather small WBT Systems, Block 2, | They had to count them all Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill 01-4170100 | The Albert Hall
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:17 GMT