gnu-system-discuss
[Top][All Lists]
Advanced

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

Re: Package format/management ramblingss


From: Barry deFreese
Subject: Re: Package format/management ramblingss
Date: Mon, 10 May 2004 11:36:15 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

Alfred M. Szmidt wrote:

  OK, someone needs to re-explain the advantage of stowfs then.  If
  we have some front-end to download the package, pkgadd, pkgrm, etc.
  What's the advantage of another layer??

It automates the "symlink-farm" creation.  You also can implement
things like special nodes that can be modifed by users/programs, or
read to get information about the package.  So I can access
/stow/PKG-VER/,dependencies and get a list of unfullfilled
dependencies.  Maybe people have more ideas for interesting nodes that
could be made avaiable by stowfs that might be useful.
n00b question time. What does stowfs give us here that a straight directory tree structure wouldn't??

pkgadd/pkgrm run post/pre scripts, since they are interactive tasks.
Having cp do this, would be quite counter intuitive; and quite hard to
implement safetly.  You would for example have to modify almost all
syscalls that handle file operations to handle this.

Also, it doesn't follow the KISS principle.

  Not to mention: What happens if the stowfs translator dies?  Do I
  lose access to all my apps??

Same thing that will happen when your root file-system dies; total
system havoc.  This shouldn't happen to begin with.

To counter your worries about stowfs, think about what would happen if
the symlink translator points to /lib/ld.so (or any other important
file) would crash. If you feel adventurous, you could even try it on a
live system.

Understood but my point is, why add another failure point if it's not necessary?

--
Barry deFreese
Debian 3.0r1 "Woody"
GNU/Hurd
Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning." Rich Cook.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]