Make cp and mv optionally preserve hard links.

This commit is contained in:
Matt Kraai
2001-12-17 15:26:36 +00:00
parent 46ea0e4696
commit ace02dc9cd
6 changed files with 42 additions and 75 deletions

View File

@ -0,0 +1,6 @@
# UNSUPPORTED: CONFIG_FEATURE_PRESERVE_HARDLINKS
touch foo
ln foo bar
mkdir baz
busybox cp -d foo bar baz
test baz/foo -ef baz/bar