[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths
From: |
Kaz Kylheku |
Subject: |
Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths |
Date: |
Fri, 01 Mar 2024 19:50:49 -0800 |
User-agent: |
Roundcube Webmail/1.4.15 |
On 2024-03-01 01:18, Pádraig Brady wrote:
> I agree this is useful functionality,
> but the thinking is we should add this to a "replace" utility
> rather than to mv.
I made a "swap file-a file-b" utility in the early 1990s.
Needless to say, there was no system call for doing it atomically.
I didn't find it useful at all, and the code fell by the wayside.
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, (continued)
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Petr Malat, 2024/03/01
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Rob Landley, 2024/03/01
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Pádraig Brady, 2024/03/02
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Dominique Martinet, 2024/03/02
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Pádraig Brady, 2024/03/02
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Petr Malat, 2024/03/02
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Pádraig Brady, 2024/03/03
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Rob Landley, 2024/03/02
- Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Petr Malat, 2024/03/02
Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths, Rob Landley, 2024/03/01
Re: [PATCH] mv: add --swap (-s) option to atomically swap 2 paths,
Kaz Kylheku <=