Re: [ILUG] selective symlinks?

From: Niall O Broin (niall at domain linux.ie)
Date: Sun 13 May 2001 - 20:36:25 IST


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

Niall



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:17 GMT