[PLUG] File system space troubles (SOLVED)
Paul Munday
paulm at freegeek.org
Fri Jul 5 19:00:33 UTC 2013
On Wed, 2013-07-03 at 11:57 -0700, wes wrote:
>
> > Dumb question time. I don't suppose there's a way to symlink those
> dirs to
> > a space in the /home dir to avoid this problem in the future is
> there?
> >
>
> Yes, you can do this. Simply mv /var /home/var and then ln
> -s /home/var
> /var, and reboot.
Bind mounts are useful in this situation, to avoid having symlinks
around
(so things show up with their proper path).
Add this to /etc/fstab
/home/var /var bind defaults,bind 0 0
Then var will appear to be a proper directory in / (just as if it was on
its own partition)
even though its actually elsewhere.
--
Technical Support Specialist, Free Geek
Free Geek Tech Support: support at freegeek.org
(503) 232-9350 option 6 Tuesday-Saturday: 12-1,1:30-5:45PM
More information about the PLUG
mailing list