<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2013-12-04 3:43 AM, Linda Walsh
      <a class="moz-txt-link-rfc2396E" href="mailto:rsync@tlinx.org"><rsync@tlinx.org></a> wrote:<br>
    </div>
    <blockquote cite="mid:529EEB1A.6060600@tlinx.org" type="cite"><br>
      For that matter, is there a reason not to give "cp" a try"
      <br>
      <br>
      mkdir <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr.tmp
        && cp -ax <i class="moz-txt-slash"><span
            class="moz-txt-tag">/</span>usr<span class="moz-txt-tag">/</span></i>.
        /usr.tmp<span class="moz-txt-tag">/</span></i>.
      <br>
      <br>
      I guarantee it will be faster than rsync.  That or star -- if you
      want
      <br>
      to know options, I'd have to reread the manpage, way too much to
      <br>
      remember.<br>
    </blockquote>
    <br>
    Thanks Linda... I was initially planning on using cp for this, but
    someone on the gentoo list convinced me that rsync was better (not
    sure why now)...<br>
    <br>
    So the above (cp -ax) will make an identical copy of /usr,
    preserving all permissions and links (this is important, because I
    have a limited amount of space on / for this - enough for the
    current /usr, as long as all hard links are preserved).<br>
    <br>
    <blockquote cite="mid:529EEB1A.6060600@tlinx.org" type="cite">
      For the purpose you are stating, copying all of /usr using "cp"
      <br>
      or "star" would be better. <br>
      If you have other things mounted on /usr</blockquote>
    <br>
    Nothing else mounted on/under /usr...<br>
    <br>
    But... what exactly is meant by the -x switch ('stay on same
    filesystem')?<br>
    <br>
    Currently /usr is on a reiserfs formatted LVM partition, and / is
    ext3 on a regular partition on a hardware RAID mirrored pair...<br>
    <br>
    Thanks again...<br>
    <br>
    <div class="moz-signature">-- <br>
      <br>
      Best regards,<br>
      <br>
      <b><i>Charles</i></b><br>
    </div>
  </body>
</html>