nudge icon indicating copy to clipboard operation
nudge copied to clipboard

Question: Does Nudge check for free space?

Open shoopdawoop opened this issue 3 years ago • 3 comments

Sorry I did not just test this myself ... does Nudge check for free space on the boot volume to make sure that an update/upgrade can actually be installed before it goes into enforcer mode?

Ideally, imo, in case of insufficient free space users would be reminded to do some spring cleaning until the install can be performed.

shoopdawoop avatar Feb 22 '22 18:02 shoopdawoop

Nope it does not. I'm not very interested in doing this as it changes for every update.

erikng avatar Feb 22 '22 18:02 erikng

Good point. Maybe a simple way to do this would be good enough, e.g. something like a

"minFreeSize": "15G",
"minFreeSizeSkipEnforce": "true"

in com.github.macadmins.Nudge.json that, if present, would prevent enforced mode (e.g. by setting allowedDeferrals to a high value)?

This way admins could set a general threshold for free space in order to prevent a major headache in exchange for a minor one, thus allowing the few messy users to keep working if they happen to run out of space.

The alternative, of course, would be to never enter enforced mode at all.

shoopdawoop avatar Feb 24 '22 19:02 shoopdawoop