[gobolinux-users] Solution for situation when more programs provide same file

Jonas Karlsson jonka750 at student.liu.se
Fri Jun 29 20:44:16 UTC 2007


On Fri, 29 Jun 2007 22:31:36 +0200, mpb <mpb.mail at gmail.com> wrote:

>> On 6/28/07, mpb <mpb.mail at gmail.com> wrote:
>> > Perhaps one file - a master list of conflicts, plus some kind of
>> > Script that could analyze the master list and print out various types
>> > of information and summaries.
>
> On 6/28/07, hisham.hm at gmail.com <hisham.hm at gmail.com> wrote:
>> Ah, the eternal temptation of using a database (even if flat-file
>> based) and a script to keep it in sync. Always good on paper. But the
>> pure fs approach is much much cleaner: you instantly see when the main
>> or alternate links are broken, the symlink shows which app they point
>> to, plus you get various types of information and summaries using
>> regular Unix tools.
>
> My concern is that creating .Alternative in the current Links
> subdirectories files feels dirty to me.  What if some Program actually
> has a file named .Alternative...?
>
> How about symlinks as follows:
>
> System/Links/Conflicts/ProgramA/lib/libfoo.so ->
> System/Links/Conflicts/ProgramB/lib/libfoo.so ->
> etc.
>
> Or alternatively:
>
> System/Links/Conflicts/Libraries/libfoo.so/ProgramA-1.0 ->
> System/Links/Conflicts/Libraries/libfoo.so/ProgramB-3.4 ->
> etc.

I like the latter. It looks easier to restore. Actually I like it alot. :)

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-users mailing list