Linux-man Archive on
 help / color / Atom feed
From: "Michael Kerrisk (man-pages)" <>
To: Helge Kreutzmann <>
Cc: linux-man <>
Subject: Re: Errors in man pages, here: rename(2): Content
Date: Sun, 26 Apr 2020 16:24:14 +0200
Message-ID: <> (raw)
In-Reply-To: <20200426111252.GE2031@Debian-50-lenny-64-minimal>

Hello Helge,

On Sun, 26 Apr 2020 at 13:12, Helge Kreutzmann <> wrote:
> Hallo Michael,
> On Mon, Apr 20, 2020 at 11:40:26AM +0200, Michael Kerrisk (man-pages) wrote:
> > On 4/19/20 8:48 AM, Helge Kreutzmann wrote:
> > > **
> > >
> > > If newpath exists, this is already the reason for the failure?
> > >
> > > "If I<newpath> exists but the operation fails for some reason, B<rename>()  "
> > > "guarantees to leave an instance of I<newpath> in place."
> >
> > I do not understand this report. Please elaborate.
> Trying to 2nd guess what the original translator, who unfortunately is
> no longer active, might have thought:
> If you want to rename but the new path already exists, how can there
> be other reasons for failure at all?

Because renaming onto an existing 'newpath' is permitted! Earlier, the
man page says:

       If newpath already exists, it will be atomically replaced, so that
       there is no point at which another process  attempting  to  access
       newpath  will  find it missing.

I think the translator must not have understood this.

> If this still does not make sense, please close this report without
> changes, of course.

Please close.



  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19  6:48 Helge Kreutzmann
2020-04-20  9:40 ` Michael Kerrisk (man-pages)
2020-04-26 11:12   ` Helge Kreutzmann
2020-04-26 14:24     ` Michael Kerrisk (man-pages) [this message]
2020-04-26 16:17       ` Helge Kreutzmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-man Archive on

Archives are clonable:
	git clone --mirror linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ \
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone