[comp.unix.ultrix] Sockets in /dev: what are they? how to recreate them?

smw@alcor.concordia.ca ( Steven Winikoff ) (06/06/91)

Being fortunate enough to have "spare" partition on one of our disks,
I'm backing up my root partition (on a DECsystem 5500 under Ultrix 4.1)
to disk, using afio (since the Ultrix cpio is broken, but that's
another story).

My question concerns the following three items in /dev:

               /root.bak/dev/snmp
               /root.bak/dev/elcscntlsckt
               /root.bak/dev/printer

These are all sockets, and I can't copy them using afio/cpio or tar.

That's all I know about them.

Obviously I'd like to know what's happening here.  What are these
files?  How are they created?  Can I back them up?  If not, can I
recreate them in my spare partition?

Thanks in advance,

   - Steven

------------------------------------------------------------------------
Steven Winikoff                                 smw@alcor.concordia.ca
Software Analyst
Dept. of Computing Services
Concordia University                            voice: (514) 848-7619
Montreal, Quebec, Canada                               (10:00-18:00 EST)

grr@cbmvax.commodore.com (George Robbins) (06/06/91)

In article <smw.676144715@alcor> smw@alcor.concordia.ca ( Steven Winikoff ) writes:
> 
> Being fortunate enough to have "spare" partition on one of our disks,
> I'm backing up my root partition (on a DECsystem 5500 under Ultrix 4.1)
> to disk, using afio (since the Ultrix cpio is broken, but that's
> another story).
> 
> My question concerns the following three items in /dev:
> 
>                /root.bak/dev/snmp
>                /root.bak/dev/elcscntlsckt
>                /root.bak/dev/printer
> 
> These are all sockets, and I can't copy them using afio/cpio or tar.

They are dynamically created by the programs / function that use them,
so there is no need to worry about backing them up.  As far as what
they're for, /dev/printer is used by /etc/lpd and documented in the
lpd man page.  The others are for error logging and I guess SNMP network
magnagment daemons.
-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)

dbgwab@edp130edp.arco.com (Bill Bailey) (06/08/91)

You Mention that you are backing up "/" to a spare disk with "apio" or
something similar... Why don't you just use "dump" ?????? I us it to dump
an entire server system by piping the output from dump to comnpress. I
then tar the files together and ftp them to the IBM mainframe... but
that's another story.

-- 
Bill Bailey <dbgwab@arco.com>
Voice : (214) 754-6779