Subject: re: CVS commit: src/distrib/sets
To: Perry E. Metzger <perry@piermont.com>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 04/08/2003 01:52:12
   
   matthew green <mrg@eterna.com.au> writes:
   >    Log Message:
   >    do pax -L so that symlinks aren't blown away.
   >    Beginning of work to fix PR install/8090 from Luke Mewburn
   > 
   > 
   > exactly how does "pax -L" help 8090?
   
   > all that does is convert symlinks in the tarballs themselves to
   > copies of the files, but only when using the 'installsets' option.
   
   You didn't read the change, did you.

actually, i did.  i made sure about what i thought was wrong beforehand.
   
   This impacts the use of the program when we copy sets for
   installworld, NOT when we build sets.

as i noted.
   
   Try it. If you have a directory a and a symlink b to the directory a,
   and the tar files contain a file in directory b, the symlink b to
   directory a is NOT blown away, whereas before it WAS blown away.

i did try it.  i don't really follow what you're saying above, but
the essense is that symlinks are LOST in the too-copied area.  the
contents of /lib and /usr/lib are now full of files like:

	-r--r--r--  1 mrg  wheel  740426 Feb 24 22:59 libc.so
	-r--r--r--  1 mrg  wheel  740426 Feb 24 22:59 libc.so.12
	-r--r--r--  1 mrg  wheel  740426 Feb 24 22:59 libc.so.12.95

   That means if you, for instance, had /bin as a symlink to /usr/bin,
   that choice will not be blown away by the make installworld
   process.

even if so, the change has other side effects...
   
   Note again this is NOT for building sets -- only for the installworld
   type set copy.

again, as i noted.
   
   And no, I'm not going to back it out.

if you don't, i will.



.mrg.