#570 cp command broken?

v0.7
open
Volker
Others (142)
5
2012-10-28
2009-05-23
Ryan Morris
No

When I copy a file to the same or a different drive the file size does not match after copy. Moving appears to work, but I did not check file integrity after.

freenas:/mnt/storage1/test# ls -lh
total 4589824
-rwxrwxrwx 1 root wheel 4.4G Mar 15 2008 file.iso
freenas:/mnt/storage1/test# mkdir /mnt/storage1/test2
freenas:/mnt/storage1/test# cp file.iso /mnt/storage1/test2/
freenas:/mnt/storage1/test# cd ../
freenas:/mnt/storage1# cd test2
freenas:/mnt/storage1/test2# ls -lh
total 395520
-rwxrwxrwx 1 root wheel 386M May 23 02:50 file.iso
freenas:/mnt/storage1/test2#

Version 0.7 Sardaukar (revision 4653)
built on Thu May 21 11:53:50 UTC 2009
OS Version FreeBSD 7.2-RELEASE (revision 199506)
Platform amd64-embedded on AMD Sempron(tm) Processor LE-1250

Discussion