On Thu, 7 Nov 2019 14:42:32 +0000 Stuart Henderson wrote:
> On 2019/11/07 11:15, Craig Skinner wrote:
> > On Wed, 6 Nov 2019 13:41:07 +0100 Renaud Allard wrote:
> > > Given the amount of people which encrypt /home directory on their 
> > > servers, it might be useful to be able to define another directory for 
> > > the sets in sysupgrade as /home_sysupgrade will not be available in that 
> > > case.
> > 
> > How about /var/cache/sysupgrade/ as the default?
> > 
> > i.e: sysupgrade caches files which are variable over time.
> > 
> > 
> 
> The merits of different filesystems were already discussed when choosing the
> current default - disklabel auto layout usually leaves a fair amount of space
> in /home, reduces risk of running out of space in a fairly import system fs,
> and avoids consuming space on an fs where files are unpacked during the
> upgrade install.
> 

If the installer created a 750Mb /var/cache/ partition, and sysupgrade's cache
directory is hard coded as /var/cache/sysupgrade/, would that simply solve
the various problems people are having & scripting difficulties?

Other tools which cache files in /home/ or /var/db/ could also use /var/cache/


Cheers,
-- 
Craig Skinner | http://linkd.in/yGqkv7

Reply via email to