copy corrupting last block of file?

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

 



This looks suspiciously like a software problem of some kind:

I've got a file (a firmware update) I try to copy to an sdcard.

Two different copies now have shown as corrupted at the start
of the final 16K boundary of the file data:

zooty> cmp /zooty/public/S800CUpdate/firmware/firmware.bin /tmp/tom/bad-linux-firmware/firmware.bin 
/zooty/public/S800CUpdate/firmware/firmware.bin /tmp/tom/bad-linux-firmware/firmware.bin differ: char 127041537, line 496168

zooty> cmp /zooty/public/S800CUpdate/firmware/firmware.bin /tmp/tom/firmware/firmware.bin 
/zooty/public/S800CUpdate/firmware/firmware.bin /tmp/tom/firmware/firmware.bin differ: char 127041537, line 496168

That 127041537 value in hex is 0x7928001.

Worst yet, if I use rsync rather than cp to copy the file, lo and behold the
contents turn up identical!

Is the "cp" command busted? That would be insane.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux