nudge
nudge copied to clipboard
Question: Does Nudge check for free space?
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.
Nope it does not. I'm not very interested in doing this as it changes for every update.
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.