*BSD News Article 8757


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!swrinde!cs.utexas.edu!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!unidui!du9ds3!veit
From: veit@du9ds3 (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: What is filetype "socket link" ?
Date: 9 Dec 92 07:33:56 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 23
Message-ID: <veit.723886436@du9ds3>
References: <JOCHEN.92Dec6102037@busybit.mrz.sub.org>
Reply-To: veit@du9ds3.fb9dv.uni-duisburg.de
NNTP-Posting-Host: du9ds3.fb9dv.uni-duisburg.de

In <JOCHEN.92Dec6102037@busybit.mrz.sub.org> jochen@busybit.mrz.sub.org (Jochen Fahrner) writes:

>In 386BSD there is a file /dev/log with filetype "socket link"
>(octal filetype 0140666).

>Neither cpio nor tar can handle this filetype.
>Can someone explain what this file type is, and what this file
>/dev/log is good for ?

>Jochen
>-- 
>Jochen Fahrner, D-8068 Pfaffenhofen, jochen@busybit.mrz.sub.org

It is a kind of 'named pipe', and filled by the syslog(3) call and
read by the syslog daemon. It is used to pass error messages
from a user process to the system logger. 

Holger
-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.fb9dv.uni-duisburg.de
|__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
|  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"