How do you copy a socket?

From: Homan, Charles (NE) (Charles.Homan@GDC4S.Com)
Date: Tue May 14 2002 - 11:13:29 EDT


OK, here's what I hope is an easy one: I am trying to move /var onto its own
partition on the boot disk. I have created a new partition in the blank
space, newfs'ed it, booted from CD. Then I mount and move stuff like so:

mount /dev/dsk/c0t0d0s0 /a
mount /dev/dsk/c0t0d0s7 /a/newvar
cd /a/var
tar cf - . | ( cd /a/newvar ; tar xf - )

Should be no issue, but it seems there are two socket files (created by NDS)
in /var, which tar barfs on. One is:

srwxrwxrwx 1 root other 0 May 9 9:13 s-n4ucmd

The other is similar.

How can I either copy over or re-create this socket file on the new
partition? Any help would be vastly appreciated!

Thanks!
Charles
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:19 EDT