<br><br><div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">Alex Schuster</b> &lt;<a href="mailto:wonko@wonkology.org">wonko@wonkology.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
jakommo writes:<br><br>&gt; On 11/16/06, geistteufel &lt;<a href="mailto:geistteufel@yahoo.fr">geistteufel@yahoo.fr</a>&gt; wrote:<br><br>&gt; &gt; If you have opt in your / I suggest to move it and doing a symlink<br>&gt; &gt;
<br>&gt; &gt; like cd /; mv opt usr; ln -s usr/opt .<br>&gt; For now I think maybe its better to make some new partitions and copy the<br>&gt; stuff to them by using a live cd and then adjust fstab and/or make<br>&gt; symlinks. the problem is the maschine is a server and I dont want it to
<br>&gt; be down for a long time, its only used for cups at the moment, but I<br>&gt; think its more secure to quit the idea of resizing and do it the mount<br>&gt; and symlink way. another benefit of this way is I can prepare everything
<br>&gt; so I only need to reboot with a live cd to copy the files and thats it.<br><br>I don't think there is a neeed to boot from CD for that. Just copy /usr (or<br>whatever directory you like) to its new destination, rename /usr and create
<br>the symlink instantly after that:<br><br>cp -pr /usr /newdrive/<br>mv /usr /usr.old &amp;&amp; /usr.old/bin/ln -s /newdrive/usr /<br><br>This makes /usr unavailable for a fraction of seconds only. Programs<br>currently using files in /usr should not be affected, when the files are
<br>still open it should not matter if they are renamed as long as they stay on<br>the same partition.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alex<br>--<br><a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list<br><br></blockquote>
</div><br>thanks Alex,<br><br>I think I try that, but I wait for a moment where it doesn't metter if something goes wrong.<br><br>jakommo<br>