James Melin writes: > 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 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?
These are Unix domain sockets which are created when an application binds an AF_UNIX socket into the filesystem namespace. They do not have any use outside of the context of the process which bound it or clients which connect to it (assuming the process even exists any more). They are not copyable and don't contain data that you need to be concerned about. --Malcolm -- Malcolm Beattie <[EMAIL PROTECTED]> Linux Technical Consultant IBM EMEA Enterprise Server Group... ...from home, speaking only for myself
