[BusyBox] cp says files are the same even though they are not

Robin Farine robin.farine at terminus.org
Tue Apr 12 09:58:20 UTC 2005


On Tuesday 12 April 2005 11.06, Aizer Danny-BDA023 wrote:

> Anyway, even if OT here - I couldn't find any "real"
> documentation about the st_rdev field - are you sure it should be
> unique per block device?

IIRC, for normal files, the device the filesystem is mounted on is 
contained in the st_dev field, not in the st_rdev field. The latter 
gives the device number a special file stands for.

Robin



More information about the busybox mailing list