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?

Liam Bedford lbedford at lbedford.org
Sun May 13 21:36:53 IST 2001


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)

L.
-- 
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




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