Policy:

     In general, symbolic links within a top-level directory should be
     relative, and symbolic links pointing from one top-level directory
     into another should be absolute.  (A top-level directory is a
     sub-directory of the root directory `/'.)

I don't remember the rationalle for policy wanting relative symlinks
inside subdirectories, and I can't find it in the archives of
debian-policy (and didn't want to read all of debian-devel before 1998
to find it there).

> > On my system "/usr/share/games" is a symbolic link on other
> > partition
> > (because this directory taking a lot of disk space), so when game
> > tries to open "/usr/share/games/wesnoth/fonts/DejaVuSans.ttf" it
> > gives "No such file or directory".

The policy on symlinks allows top-level directories to be symlinked to
elsewhere, but does not allow such symlinks of non-top-level
directories. dh_link is exactly following policy here, but I will modify
it to respect -X so you can ignore the policy (which is just a "should",
so that'e only a normal severity bug if you do ignore it..) if you
choose.

Bind mounts are a much easier, modern, and better solution for
relocating parts of the filesystem tree.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to