Re: Is there a tool which keeps track of space on filesystems during install?
Brian May <firstname.lastname@example.org> wrote:
>>>>>> "Itai" == Itai Zukerman <email@example.com> writes:
> > The pre/post-inst/rm scripts complicate things slightly.
> > Preinst might free up some space, for example. Still, I
> > think a warning (or controlled error) might be better than
> > outright failure and potential database corruption. What
> > happens when /var fills up?
>IMHO, this is a more important issue. Especially when postinst scripts:
>a) generate files that use more disk space (eg. any package with
>(x)emacs LISP files).
It's possible to tell dpkg-gencontrol about this:
Additional disk space used when the package is
installed. If this variable is set its value is
added to that of the Installed-Size variable
(whether set explicitly or using the default value)
before it is copied into the Installed-Size control
Colin Watson [firstname.lastname@example.org]