<br><br><div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">Alex Schuster</b> <<a href="mailto:wonko@wonkology.org">wonko@wonkology.org</a>> 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>> On 11/16/06, geistteufel <<a href="mailto:geistteufel@yahoo.fr">geistteufel@yahoo.fr</a>> wrote:<br><br>> > If you have opt in your / I suggest to move it and doing a symlink<br>> > <br>> > like cd /; mv opt usr; ln -s usr/opt .<br>> For now I think maybe its better to make some new partitions and copy the<br>> stuff to them by using a live cd and then adjust fstab and/or make<br>> symlinks. the problem is the maschine is a server and I dont want it to <br>> be down for a long time, its only used for cups at the moment, but I<br>> think its more secure to quit the idea of resizing and do it the mount<br>> and symlink way. another benefit of this way is I can prepare everything <br>> 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 && /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> 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>