<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">I'd do
it with the system <b class="moz-txt-star"><span
class="moz-txt-tag">*</span>up<span class="moz-txt-tag">*</span></b>,
and, as someone else suggested, copy
<br>
/usr to /usr.tmp (assuming you are moving from /usr to the root
fs.
<br>
<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>.
</blockquote>
<br>
Ok, so, after much googling and reading and digesting the responses
here and on the gentoo list,<br>
I've decided that it is going to be much simpler than I initially
thought, and hopefully totally painless.<br>
<br>
What I'm planning on doing is simply:<br>
<br>
1. cd /<br>
<br>
2. mkdir /tmp-usr<br>
<br>
3. Copy current /usr to temp directory<br>
<br>
cp -ax /usr/. /tmp-usr/.<br>
or<br>
rsync -avHP --numeric-ids <i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>usr/<span class="moz-txt-tag"></span></i>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>tmp-usr<span
class="moz-txt-tag">/</span></i>
<br>
<br>
4. Reboot into single user mode<br>
<br>
5. Confirm /usr is empty (since it isn't mounted), then<br>
<br>
6. rm -r /usr<br>
<br>
7. mv tmp-usr usr<br>
<br>
8. mkdir old-usr<br>
<br>
8. edit /etc/fstab, comment out this line:<br>
<br>
#/dev/vg/usr /usr reiserfs
noatime 0 0<br>
<br>
9. Reboot<br>
<br>
Hopefully everything comes up and just works... :)<br>
<br>
Thanks to all<br>
<br>
<div class="moz-signature">-- <br>
<br>
Best regards,<br>
<br>
<b><i>Charles</i></b><br>
</div>
</body>
</html>