Is there .a way to see old var after mounting to a new partition?

by eugene   Last Updated August 14, 2019 04:02 AM - source

After moving var to a new partition by the following commands, How can I see the old var ?

mkdir /var2
mount /dev/sda5 /var2

Sync your current var:

rsync -a /var/ /var2

Add the entry to /etc/fstab

/dev/sda5    /var    ext4    defaults      2 2
Tags : mount

Related Questions

Help Mounting Drive

Updated April 21, 2015 21:00 PM

Configure automount vboxsf in 15.04

Updated May 20, 2015 21:01 PM