Bug 5456

Summary: copy_file will lost some files
Product: Busybox Reporter: tpunix
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description tpunix 2012-08-16 14:08:41 UTC
on some filesystem(cramfs), empty file and empty directory have the same inode number. is_in_ino_dev_hashtable() only check inode number, so the second file/dir will be lost.
Comment 1 Denys Vlasenko 2014-02-25 14:28:57 UTC
Fixed in git:

commit 83bc4332e7d6d74293c1c41e047d2681a8350e1a
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Tue Feb 25 15:27:58 2014 +0100

    du, copy_file: fix file matching on cramfs