Re: Brainstorming about kernel updates with low disk space

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

 



On 6.9.2018 16:44, Jason L Tibbitts III wrote:
> * The kernel could "pre-allocate" space in /var/tmp (by %ghosting a
>   dummy nonzero-length file there) so that the package simply won't
>   install if there isn't space sufficient to generate the initramfs.
>   Would that be something we could reasonably do?
> 
>   This would result in the kernel package "owning" a file in /var/tmp
>   that doesn't exist.  The name doesn't actually matter and the file
>   wouldn't actually be in the package.  RPM would just ensure that
>   enough space would exist in /var/tmp before allowing the installation
>   to begin.

FWIW, the name does matter. You'd have to ensure the name is as unlikely
to collide with whatever anyone puts there as possible. Otherwise you
could get a user file removed when the kernel is removed, right?

Ondřej Lysoněk
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux