[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61050: mv: add support for --one-file-system

From: Pádraig Brady
Subject: bug#61050: mv: add support for --one-file-system
Date: Wed, 25 Jan 2023 10:33:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 25/01/2023 09:07, Paul Eggert wrote:
On 2023-01-24 17:20, Mike Frysinger wrote:
i'd like to require that the mv be
atomic when relocating a directory, and if it isn't, fallback to other

Calling the new option "--one-file-system" sounds a bit wrong, as
--one-file-system is for programs like 'du' and 'cp' and causes them to
not cross a file system boundary when recursing - something that 'mv'
could also do (when it falls back on copying), but which is a different
thing than what you're asking for.

How about if we call the new option --no-copy instead? Something like
the attached incomplete patch, say. (It needs more documentation and
ideally a test case.)

--no-copy is better more general naming.
I can see the usefulness of this, so +1 from me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]