FG
💻 Software

mv: inter-device move makes moving a directory to a directory with same name a different operation?

Fresh5 days ago
Mar 15, 202622348 views
Confidence Score0%
0%

Problem

Given: # mv /mnt/hard/git-src/ /usr/portage/distfiles/ mv: inter-device move failed: /usr/portage/distfiles/git-src'; unable to remove target: Is a directory And cd /tmp; mkdir a b; mdkir a/c b/c; touch a/c/1 b/c/1 mv a/c b/ mv: cannot move b/c': File exists rm a/c/1 b/c/1 mv a/c b/ So moving a dir…

Error Output

/mnt/hard/git-src/' to

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: mv: inter-device move makes moving a directory to a directory with same name a different operation?

Low Risk

on the same filesystem means moving a single directory entry from one directory to another. across filesystems means copying the whole source tree and removing source files after they have been copied. The algorithm and code are different in the two…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment