LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12:49 AM   #1
blackzone
Member
 
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
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

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

— Robert J. Lee
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration