The following will definitely help; execute as root. # runlevel N 2 [might not be 2 for you]
(log out of any X sessions, because in the next step you will change your runlevel to the single mode) # telinit 1 (make your changes now.) # exit [or] telinit 2 [should put you back into the normal runlevel] -Andy On Friday July 20 2001 00:49, Mike Fedyk wrote: > On Fri, Jul 20, 2001 at 02:00:49PM +0930, Paul Campbell wrote: > > First post to this list so bear with me > > > > hard drive partitions > > > > hda1 root 50meg > > hda2 swap 100meg > > hda3 usr 2 gig > > hda5 home 2 gig > > hda6 fat32 storage for transferred win docs etc > > > > My problem is a lot of files like to go into root directory. Is there a > > way to do symbolic linking on directories > > > > eg at the moment /var is in root directory on hda1 . Is there a way to > > move /var to /usr/var on hda5 and not effect all config files looking for > > /var > > Yep. > > Do this, but make sure you don't reboot before this has completed. > > mv /var /vr > > mv /vr /usr/var > > ln -s /usr/var /var > > There you go. > > Read the manual pages for these commands and make sure you know what > is happening before you run those three commands, like with all > commands you see anywhere... > > Mike