Dave Howorth wrote:
On Wed, 01 Feb 2017 08:00:26 +0100 Per Jessen
wrote: george from the tribe wrote:
strange that when I moved the database files, it didn't actually move them, but only copied them, even though I had already stopped the mysql server. The originals are still in the original directory, but the new files in the new directory are the ones that are being modified, according to the timestamp.
Why would it just copy those files and not move them with the mv command? Anyone else ever experience this?
Nope, 'mv' has always moved files for me.
If mv is moving from one filesystem to another, then it can't do a true move and instead does a cp followed by an rm. If it doesn't have appropriate permissions in the source directory then the rm fails. The result is a copy.
Ah, thanks! Something was nagging me about a cross filesystem move, but I couldn't put my finger on it. -- Per Jessen, Zürich (9.0°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org