LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-10-2004, 01:49 AM   #1
blackzone
Member
 
Registered: Jul 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, 05:15 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
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:
Code:
mkfifo filename
Hope that helps,

— Robert J. Lee
 
  


Reply


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 05:06 PM
socket: Socket type not supported monindra Fedora - Installation 4 01-14-2008 08:25 AM
[RH 9] Unkown socket type bob44 Linux - Networking 0 03-17-2004 05: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 02: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 01:44 PM


All times are GMT -5. The time now is 06:49 PM.

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