Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 17:23:03 +0100
From:      Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Bruce Evans <bde@FreeBSD.org>, current@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: [CFR] OpenBSD install(1) fixes: atomic install, etc.
Message-ID:  <3AE06267.BE44852F@dante.org.uk>
References:  <20010420191008.A51313@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Ruslan Ermilov wrote:

> The attached patch incorporates most of OpenBSD fixes to install(1).
> It does not include manpage update.  Most significant changes are:
>
> o New flag: -S (atomic install)
>
> : -S    Safe copy.  Normally, install unlinks an existing target before
> :       installing the new file.  With the -S flag a temporary file is
> :       used and then renamed to be the target.  The reason this is safer
> :       is that if the copy or rename fails, the existing target is left
> :       untouched.
>

Just curious: why not make this way of doing install default (i.e. always use
it)?

Regards,
    Konstantin.

--
          * *        Konstantin Chuguev - Application Engineer
       *      *              Francis House, 112 Hills Road
     *                       Cambridge CB2 1PQ, United Kingdom
 D  A  N  T  E       WWW:    http://www.dante.net




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AE06267.BE44852F>