Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-10-2004, 12:49 AM   #1
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
/dev (file type: socket device?)

was reading the /dev directory of a firmware.

I see some of the files indicated as type "s" socket type.
Have filesize of 0. And indicate as a pink color followed by a "=" sign.

can give some insight what is a socket device and why/how people custom make one?
Old 08-10-2004, 04:15 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Unless I'm mistaken, “s” refers to a FIFO socket. See the FIFO(4) manual page for more details.

Basically, a FIFO refers to a small in-memory buffer that one process can write to while another one reads from. The processes are controlled by SIGSTART/SIGSTOP (I think) so that you can never write to a full buffer or read from an empty one.

You can create a FIFO socket or “named pipe” using the command:
mkfifo filename
Hope that helps,

— Robert J. Lee


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket type not supported monindra Fedora - Installation 11 11-25-2008 04:06 PM
socket: Socket type not supported monindra Fedora - Installation 4 01-14-2008 07:25 AM
[RH 9] Unkown socket type bob44 Linux - Networking 0 03-17-2004 04:37 PM
wrong fs type ,bad option, bad superblock on /dev/hda3, or too many mounted file syst Vencalator Linux - Newbie 4 09-20-2003 01:58 PM
wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file sy TheCyberDude Linux - Software 1 02-11-2002 12:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration