uutils/coreutils

mv hardlinks should be preserved when moving into a different directory

Open

#4 833 ouverte le 6 mai 2023

Voir sur GitHub
 (8 commentaires) (0 réactions) (0 assignés)Rust (1 852 forks)batch import
U - mvgood first issue

Métriques du dépôt

Stars
 (23 246 stars)
Métriques de merge PR
 (Merge moyen 5j 23h) (239 PRs mergées en 30 j)

Description

Testcase:

export C=/usr/bin/
export C="target/debug/coreutils "
dir=hlink
other_partition_tmpdir=/dev/shm/tmp769306

rm -rf $dir $other_partition_tmpdir
mkdir $dir $other_partition_tmpdir
> $dir/a
ln $dir/a $dir/b

${C}mv $dir "$other_partition_tmpdir"

ls -1i "$other_partition_tmpdir/$dir"

They should be equal. They aren't currently

Guide contributeur