Basicamente:
- stop anything that is using
/var
where possible - remount /var readonly for good measure
mount -f -oremount,ro /var
- copy
/var
to/
under a different name withmkdir /vartmp; cp -av /var/* /vartmp/
- move things around with
mv /var /varmount; mv /vartmp /var
- comment out the entry for
/var
in/etc/fstab
- reboot
No hay comentarios:
Publicar un comentario