I had always been under the impressions that when moving a file from one Linux filesystem to another (i.e. a new inode is created), that mv
is essentially a cp
command followed by an rm
command.
That’s not quite correct. It is essentially a cp --archive
command followed by an rm
command.
Continue reading cp, mv, ownership and attributes