Re: [PATCH] Syspatch not clearing needed free space counter

2017-08-17 Thread Antoine Jacoutot
On Thu, Aug 03, 2017 at 06:26:47PM -0400, trondd wrote: > Stuart Henderson wrote: > > > Ah, perhaps the change to disk behaviour wasn't reflected in calculations > > then.. > > I got it figured out. > > In the checkfs function, the 'eval $(stat...)' command stores a list of disk > devices and

[PATCH] Syspatch not clearing needed free space counter

2017-08-03 Thread trondd
Stuart Henderson wrote: > Ah, perhaps the change to disk behaviour wasn't reflected in calculations > then.. I got it figured out. In the checkfs function, the 'eval $(stat...)' command stores a list of disk devices and creates a variable named for each device to store the size of the files in

Re: Syspatch not clearing needed free space counter

2017-08-03 Thread Stuart Henderson
On 2017/08/03 13:18, trondd wrote: > On Thu, August 3, 2017 1:09 pm, Stuart Henderson wrote: > > On 2017/08/03 09:55, trondd wrote: > >> I noticed, when applying multiple patches, I would eventually be told I > >> was out of space on /. There was about 60M free which is plenty for a > >> kernel an

Re: Syspatch not clearing needed free space counter

2017-08-03 Thread Theo de Raadt
> I believe the clean ups were for data on disk. This problem seems to be > with the variable value in memory. My free disk space isn't changing, > just the free space syspatch thinks it needs. > > Also I am using the latest syspatch from CVS. > > # $OpenBSD: syspatch.sh,v 1.120 2017/08/02 05:5

Re: Syspatch not clearing needed free space counter

2017-08-03 Thread trondd
On Thu, August 3, 2017 1:09 pm, Stuart Henderson wrote: > On 2017/08/03 09:55, trondd wrote: >> I noticed, when applying multiple patches, I would eventually be told I >> was out of space on /. There was about 60M free which is plenty for a >> kernel and a copy. Rerunning syspatch would allow it

Re: Syspatch not clearing needed free space counter

2017-08-03 Thread Stuart Henderson
On 2017/08/03 09:55, trondd wrote: > I noticed, when applying multiple patches, I would eventually be told I > was out of space on /. There was about 60M free which is plenty for a > kernel and a copy. Rerunning syspatch would allow it to continue for a > another handful of patches. > > Mucking

Syspatch not clearing needed free space counter

2017-08-03 Thread trondd
I noticed, when applying multiple patches, I would eventually be told I was out of space on /. There was about 60M free which is plenty for a kernel and a copy. Rerunning syspatch would allow it to continue for a another handful of patches. Mucking about in checkfs(), it seems that the value of