[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mv bug
From: |
Bruno Haible |
Subject: |
mv bug |
Date: |
Tue, 5 Jun 2001 15:30:29 +0200 (CEST) |
Hi,
GNU mv, when asked to move a file onto one of its hardlinked aliases,
does nothing.
# mv --version
mv (GNU fileutils) 4.1
Written by Mike Parker, David MacKenzie, and Jim Meyering.
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# ls -l -i gcc i686-pc-linux-gnu-gcc
483620 -rwxr-xr-x 2 bin bin 215969 May 12 15:03 gcc
483620 -rwxr-xr-x 2 bin bin 215969 May 12 15:03
i686-pc-linux-gnu-gcc
# mv gcc i686-pc-linux-gnu-gcc
# echo $?
0
# ls -l -i gcc i686-pc-linux-gnu-gcc
483620 -rwxr-xr-x 2 bin bin 215969 May 12 15:03 gcc
483620 -rwxr-xr-x 2 bin bin 215969 May 12 15:03
i686-pc-linux-gnu-gcc
Still there! "gcc" should be gone!
Bruno