$ tar lcf - / | ( cd /mnt ; tar xvfpS -)
I'm using this to copy a filesuyem to another partition:
$ tar lcf - / | ( cd /mnt ; tar xvfpS -)
When comparing the new and original files, I notice these
differences:
1- All soft links have the current time as the date; the date
was not preserved:
lrwxrwxrwx 1 root root 11 Aug 17 11:24 ftpusers -> ../ftpusers
became:
lrwxrwxrwx 1 root root 11 Feb 5 12:47 ftpusers -> ../ftpusers
2- permissions on /dev/printer changed:
srwxrwxrwx 1 root root 0 Feb 5 06:44 printer
became:
prwxrwxrwx 1 root root 0 Feb 5 06:44 printer
(This file could be a remnant of Slackware of something...)
How can I make the links have the same dates as before (just for
my peace of mind)?
Thanks,
--
Peter Galbraith, research scientist <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
6623'rd GNU/Linux user at the Counter - http://counter.li.org/
Reply to: