On 02/01/2017 07:11 AM, 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.
If the move is on the same filesystem the file is not actually moved, the pointer to where the find the file is changed to point to the new location. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org