[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Relative symbolic links to standard places



Wouldn't it save a lot of problems if you simply mounted seperate 
partitions on /usr/lib and /usr/src, instead of mounting them somewhere 
else and pointing links to them? Then the relative links should point to 
the correct places, right? If for some reason you can't or don't want to 
do this, I belive there is a package out there in misc called symlinks 
that helps you track down and manage links on your system.

							Shawn

On Sat, 17 Feb 1996, Buddha Buck wrote:

> 
> At many places in the Debian distribution, symlinks are made from one 
> standard location to other standard locations.  A perfect example of 
> this is the symlink of /usr/lib/X11 to "../X11R6/lib/X11".  In this 
> case, both /usr/lib/X11 and /usr/X11R6/lib/X11 are standard locations 
> that aren't likely to move.
> 
> In my situation, because of a lack of diskspace, I have /usr/lib and 
> /usr/src living on a second hard drive partition, with symlinks from 
> both to the appropriate places on the other partition.  
> 
> This creates problems with symlinks like the one above, since the 
> symlink to "../X11R6/lib/X11" no longer points to the same spot (there 
> is no X11R6 subdirectory in /usr/lib/.. on my system, but there is a 
> /usr/X11R6).  Attempts to find stuff in /usr/lib/X11 failed until I 
> redid the relative symlink to an absolute symlink.

> 
> Is there a reason why these (and other) symlinks are relative, instead 
> of absolute?  If so, how can I find them and "fix" them before 
> something else on my system breaks because of it?

> --
> Buddha Buck
> 85.5 Albany Street
> Cazenovia, NY 13035-1216		This Space For Rent
> phaedrus@future.dreamscape.com
> 
> 


Reply to: