coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

mv: gnu test case `part-hardlink` compatibility

Open matrixhead opened this issue 1 year ago • 0 comments

This GNU test checks that when mv moves files between partitions, it preserves the hard links.

for example

mkdir dir
touch dir/file
ln dir/file dir/link
mv dir /dev/shm
ls -i /dev/shm/dir

in gnu's implementation, this would give us something like

5018 file  5018 link

notice the inodes are the same, but in uu-mv the inodes would differ

matrixhead avatar Aug 11 '24 09:08 matrixhead