uutils/coreutils

mv hardlinks should be preserved when moving into a different directory

开放

#4,833 创建于 2023年5月6日

 (8 条评论) (0 个反应) (0 位负责人)Rust (2,003 个派生)batch import
U - mvgood first issue

仓库指标

星标
 (23,984 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南