LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-14-2006, 12:42 AM   #1
misbahuddin
LQ Newbie
 
Registered: Dec 2005
Posts: 24

Rep: Reputation: 15
/dev/initctl .. What is this device file for.


Hi,

I was just looking at the device files in /dev file system and I observe some special device file named /dev/initctl. When I execute the command
ll /dev/initctl ,
it is displaying me the following output

prw------- 1 root root 0 Nov 5 23:47 initctl.

Here, I would like to know the permissions i.e. prw----, what does the 'p' refers to. Moreover, what this device file is for?

Regards,
Misbahuddin.
 
Old 11-14-2006, 12:56 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
'man -k initctl' turned up nothing, so 'man -K initctl' gave me:
Code:
       Usage of SIGPWR and /etc/powerstatus is discouraged. Someone wanting to
       interact  with  init  should use the /dev/initctl control channel - see
       the source code of the sysvinit package for  more  documentation  about
       this.
from init(8).

p means it's a named pipe/FIFO.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I got a error flag "init: /dev/initctl: no such file" mst700 Linux - Newbie 4 10-28-2007 09:00 AM
how to check that any /dev/ device file in use b123coder Programming 2 04-08-2006 08:17 AM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 09:14 AM
/dev (file type: socket device?) blackzone Linux - Networking 1 08-10-2004 05:15 AM
mkraid output "[uEUEMMno MD device file in /dev" bruce1271 Linux - Software 6 03-21-2004 10:25 PM


All times are GMT -5. The time now is 12:37 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration