<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cpio and integrity data in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340264#M874569</link>
    <description>You'll have to check every file and compare the results. Well, you won't, let the computer do the work:&lt;BR /&gt; &lt;BR /&gt;find /old-dir -type f -exec cksum {} \;&lt;BR /&gt;find /new-dir -type f -exec cksum {} \;&lt;BR /&gt; &lt;BR /&gt;Now that produces a long listing of all the files. To compare them, you'll have to sort both lists and use diff:&lt;BR /&gt; &lt;BR /&gt;find /old-dir -type f -exec cksum {} \; | sorrt -k3 &amp;gt; /var/tmp/oldcksum&lt;BR /&gt;find /new-dir -type f -exec cksum {} \; | sort -k3 &amp;gt; /var/tmp/newcksum&lt;BR /&gt;diff /var/tmp/oldcksum /var/tmp/newcksum&lt;BR /&gt; &lt;BR /&gt;If there is no output from diff, then the lists are the same. Note that if one or the other filesystems is not a top-level mountpoint then lost+found will not appear. This is perfectly normal.</description>
    <pubDate>Sat, 24 Jul 2004 21:26:46 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-07-24T21:26:46Z</dc:date>
    <item>
      <title>Cpio and integrity data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340261#M874566</link>
      <description>Is there some guarantee of the data integrity with cpio command to copy data from one directory to another?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jul 2004 11:55:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340261#M874566</guid>
      <dc:creator>Mayca Jimenez</dc:creator>
      <dc:date>2004-07-24T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cpio and integrity data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340262#M874567</link>
      <description>The degree of intergrity is the same as any other copy mechanism (cp, tar, etc). To be sure, you should run cksum on every file in the source and destination. NOTE: The destination space usage will generally *NOT* be the same as the source (tools like ll, du, bdf and df will not match). But that is not important. Only the checksums are important. For an explanation, search the forum for the term sparse files.</description>
      <pubDate>Sat, 24 Jul 2004 12:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340262#M874567</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-24T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cpio and integrity data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340263#M874568</link>
      <description>Many thanks for you info.&lt;BR /&gt;I have copied a 250 GB file system with many directories and files and I would like to do the cksum for all files. &lt;BR /&gt;Do you know how I could do that task without having to go to every directory?&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jul 2004 12:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340263#M874568</guid>
      <dc:creator>Mayca Jimenez</dc:creator>
      <dc:date>2004-07-24T12:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cpio and integrity data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340264#M874569</link>
      <description>You'll have to check every file and compare the results. Well, you won't, let the computer do the work:&lt;BR /&gt; &lt;BR /&gt;find /old-dir -type f -exec cksum {} \;&lt;BR /&gt;find /new-dir -type f -exec cksum {} \;&lt;BR /&gt; &lt;BR /&gt;Now that produces a long listing of all the files. To compare them, you'll have to sort both lists and use diff:&lt;BR /&gt; &lt;BR /&gt;find /old-dir -type f -exec cksum {} \; | sorrt -k3 &amp;gt; /var/tmp/oldcksum&lt;BR /&gt;find /new-dir -type f -exec cksum {} \; | sort -k3 &amp;gt; /var/tmp/newcksum&lt;BR /&gt;diff /var/tmp/oldcksum /var/tmp/newcksum&lt;BR /&gt; &lt;BR /&gt;If there is no output from diff, then the lists are the same. Note that if one or the other filesystems is not a top-level mountpoint then lost+found will not appear. This is perfectly normal.</description>
      <pubDate>Sat, 24 Jul 2004 21:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-and-integrity-data/m-p/3340264#M874569</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-24T21:26:46Z</dc:date>
    </item>
  </channel>
</rss>

