[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426145: busybox: handles cp/rm but fails for symlinks

Package: busybox
Version: 1:1.1.3-4

busybox mv handles moving across devices eg. when rename() can't work.
But it doesn't work moving a dangling symlink like:

cd /mnt/a
ln -s x y
rm -f ./x
mv y /mnt/b

This is mildly annoying when you're in an initrd and mv breaks for lib64
or such (since lib has already been moved) and you have to go and
recreate various links.

Reply to: