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

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

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


Updated April 04, 2018 14:02 PM

Updated April 21, 2015 21:00 PM

Updated May 20, 2015 21:01 PM

Updated May 30, 2015 22:00 PM

Updated June 03, 2015 23:00 PM