svn commit: r279571 - head/usr.sbin/freebsd-update

Justin T. Gibbs gibbs at scsiguy.com
Wed Mar 4 16:50:41 UTC 2015


On Mar 4, 2015, at 9:14 AM, Allan Jude <allanjude at FreeBSD.org> wrote:
> 
> On 2015-03-04 09:59, Justin T. Gibbs wrote:
>> On Mar 3, 2015, at 4:20 PM, Allan Jude <allanjude at FreeBSD.org> wrote:
>>> 
>>> Author: allanjude (doc committer)
>>> Date: Tue Mar  3 23:20:18 2015
>>> New Revision: 279571
>>> URL: https://svnweb.freebsd.org/changeset/base/279571
>>> 
>>> Log:
>>> Add a new safetly belt to freebsd-update to prevent a user doing a minor update (-pX) while having an unfinished major upgrade (9.x to 9.y)
>>> Safetly belt can be disabled with the -F flag
>>> 
>>> Additionally, add the --not-running-from-cron flag they bypasses the TTY requirement, and allows freebsd-update to be invoked by orchestration frameworks, scripts, or otherwise.
>> 
>> Would "—non-interactive" be a better name for this option?  Or maybe there is a standard option name used by other utilities to disable the TTY check?
>> 
>>>> Justin
>> 
> 
> I had originally had it as part of the -F (force) flag, but Colin
> Percival asked for that name specifically.

It just seems like a poor choice for the flag name since it implies you’d want to use it in interactive settings too, since cron isn’t involved.

—
Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150304/78565731/attachment.sig>


More information about the svn-src-all mailing list