I've just tried to move a big tree from one disk to another, which was too small. Now, I'm left with something I can't really understand - it looks like some files were indeed moved away from the source tree while others were just copied. This is most probably not true, and I'm just overlooking something, like I did when I check the free place on the target disk. :D
The command was simply
mv source-dir destination-dir, where both dirs reside on different disks. I'm using
mv (GNU coreutils) 7.4. Nowhere in the man page I found the answers to the following questions:
- may truncated files get created?
- in case of errors, will anything in the source tree get deleted?
- how to recover (in an easy and fast way)?