westrock2000
[H]F Junkie
- Joined
- Jun 3, 2005
- Messages
- 9,434
I have a computer that has Linux on a single spinner drive. I also have a extra 32GB SSD sitting around. I would like to move /var/www to this spare drive (help Apache with I/O). What is the best way to do this that will have no impact on paths (keep /var/www even though on a different sda dev)?
I know there is a symbolic link, but didn't know if a /etc/fstab would be more appropriate.
Is there a way to keep the data of the old folder in tact, just redirect to the new device instead? So like in the case of a fstab mount, removing the mount just makes the system point back to the real folder with <old> data in it.
I know there is a symbolic link, but didn't know if a /etc/fstab would be more appropriate.
Is there a way to keep the data of the old folder in tact, just redirect to the new device instead? So like in the case of a fstab mount, removing the mount just makes the system point back to the real folder with <old> data in it.