Say you wanted to add space to your /opt directory.
Copy the data from /opt to the new partitian.
Delete the data in /opt.
Mount the new partitian using /opt as the mount point.
The new partitian will become your /opt directory and if the original /opt was part of your root partitian then this will free space on this partitian as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.