LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] selective symlinks?

[ILUG] selective symlinks?

Niall O Broin niall at linux.ie
Sun May 13 20:36:25 IST 2001


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell