Re: keeping distros and admins off of each other's toes
Laurent Bercot <[email protected]> Tue, 10 Feb 2004 21:33:45 +0100
| Newsgroups | gmane.comp.djb.package |
|---|---|
| Message-ID | <[email protected]> |
> But if you want the same path /package/prog/skalibs to mean one thing > to you while it means something else to other processes, then (unless > you're on GNU/Hurd) you need a bit of help from root, and the > technique I know only works on Solaris and Linux: if fd 63 is open to > a directory, then /proc/self/fd/63 is a symlink to that directory, and > you can refer to paths like /proc/self/fd/63/package/prog/skalibs. > /package could then be a symlink to /proc/self/fd/63/package. Yuck ! If you need to bug your system administrator, bug him to install skalibs-0.41 instead, and use /package/prog/skalibs-0.41 in your dependencies/scripts (since you're relying on a version number anyway). -- Ska