On Tue, 16 Sep 2003, James Melin wrote: > Using this strategy from the link on Linux VM > > mount /dev/dasdh1 /mnt > cd /var > tar -clpSf - . | (cd /mnt; tar -xpSf - ) > > produced 3 errors > > tar: ./lib/mysql/mysql.sock: socket ignored > tar: ./run/printer: socket ignored > tar: ./run/.nscd_socket: socket ignored
Those are fine. Whatever wants to write to them will create them. > > Those three errors translated into missing items in the copy > > rockhopper:/var # diff -r /var /mnt > Binary files /var/db2/.fmcd.lock and /mnt/db2/.fmcd.lock differ > Only in /var/lib/mysql: mysql.sock > Only in /var/run: .nscd_socket > Only in /var/run: printer > > I am concerned that such things are not being copied in this manner. Is > there a way to make TAR grab these as well? > -- Cheers John. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb Copyright John Summerfield. Reproduction prohibited.
