Received: by mail.netbsd.org (Postfix, from userid 605) id 039CE84F14; Wed, 24 Jun 2020 16:58:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7BEE184F11 for ; Wed, 24 Jun 2020 16:58:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 1Jndvl_Q6Ho3 for ; Wed, 24 Jun 2020 16:58:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 18FA884D6D for ; Wed, 24 Jun 2020 16:58:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0E215FB28; Wed, 24 Jun 2020 16:58:13 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 24 Jun 2020 16:58:13 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/bin/mv To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200624165813.0E215FB28@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Wed Jun 24 16:58:12 UTC 2020 Modified Files: src/bin/mv: mv.1 mv.c Log Message: New mv -h option. `mv -h source target' just issues rename(source, target) without discriminating on whether target resolves to a directory; this way you can atomically replace a symlink to a directory. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/bin/mv/mv.1 cvs rdiff -u -r1.45 -r1.46 src/bin/mv/mv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.