What is the best way to redirect /var/log content to an external disk? I have seen two basic methods, but neither seems to work?
1) symbolic link? Say the mount path of the disk is /mnt/var/log, then:2) mount bind?Any suggestions?
1) symbolic link? Say the mount path of the disk is /mnt/var/log, then:
Code:
# ln -s /var/log /mnt/var/log
Code:
# nano /etc/fstab/var/log /mnt/var/log none bind 0# mount -a
Statistics: Posted by Schorschi — Thu Sep 12, 2024 4:02 am