My project at work just got a hand-me-down debian box. Everything on it is in fine working order but I need to change the mount point of one of the drives.
The drives are set up thusly:
/dev/hdd1 - mounted on /
/dev/hdc1 - mounted on /home
In the machine's previous like it had a lot of user files so having almost half of it's storage dedicated to the home directory made sense. My needs for are different, however, and I would like to have hdc1 mounted on /var/lib/mysql since most of the machines job is handling large databases.
Can someone please walk me through, step by step, the best way to change the mount location from /home to /var/lib/mysql on hdc1 without changing any of the files in either directory? I'm pretty new to the world of *nix so I need to have it explained clearly. If it matters the machine is running Debian 3.1r1.
Thank you in advance.