uutils/coreutils

mv hardlinks should be preserved when moving into a different directory

オープン

#4,833 opened on 2023/05/06

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (2,003 件のフォーク)batch import
U - mvgood first issue

Repository metrics

Stars
 (23,984 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド