[kwlug-disc] Presentation: replacing a laptop's hard disk

Khalid Baheyeldin kb at 2bits.com
Wed Sep 16 13:36:42 EDT 2015


Several reasons:

cpio will copy all special files, and the -0 (together with find
-print0) will handle all files with weird characters in their names
(even a newline).

Also, cpio -a resets the access time of the files back to what it is,
so the files are not considered any fresher than they actually are.

I am told that rsync is also another way of doing the same, and has
checksums per file (Lori can chime in on this).

On Wed, Sep 16, 2015 at 1:20 PM, Hubert Chathi <hubert at uhoreg.ca> wrote:
> On Mon, 14 Sep 2015 23:19:41 -0400, Khalid Baheyeldin <kb at 2bits.com> said:
>
>> Those who want more information on my presentation tonight, you can
>> get the PDF from here:
>
>> http://baheyeldin.com/articles/linux/presentation-replacing-laptop-disk-linux.html
>
> I missed the presentation so you may have addressed this, but why are
> you using cpio instead of just cp -a?
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>



-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple,
and wrong." -- H.L. Mencken





More information about the kwlug-disc mailing list