[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'mv' (fileutils-4.1) cannot rename hard link files.
From: |
YOKOTA Yoshinori / 横田 義徳 |
Subject: |
'mv' (fileutils-4.1) cannot rename hard link files. |
Date: |
Thu, 14 Aug 2003 14:21:41 +0900 (JST) |
Hi,
I use 'mv' of fileutils-4.1 on Debian GNU/Linux woody.
I realized that 'mv' cannot rename hard link files.
% mv --version
mv (fileutils) 4.1
Written by Mike Parker, David MacKenzie, and Jim Meyering.
<snip>
% mkdir tmp
% touch A tmp/A tmp/B
% ln A B
% ls -lRi
.:
total 4
2232056 -rw-r--r-- 2 yokota yokota 0 Aug 14 09:37 A
2232056 -rw-r--r-- 2 yokota yokota 0 Aug 14 09:37 B
2232055 drwxr-xr-x 2 yokota yokota 4096 Aug 14 09:37 tmp
./tmp:
total 0
2232057 -rw-r--r-- 1 yokota yokota 0 Aug 14 09:37 A
2232058 -rw-r--r-- 1 yokota yokota 0 Aug 14 09:37 B
and,
% mv -f A B tmp
mv: cannot create hard link `tmp/B' to `tmp/A': File exists
---
By yokota
- 'mv' (fileutils-4.1) cannot rename hard link files.,
YOKOTA Yoshinori / 横田 義徳 <=