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