LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /dev/initctl .. What is this device file for. (https://www.linuxquestions.org/questions/linux-general-1/dev-initctl-what-is-this-device-file-for-501366/)

misbahuddin 11-13-2006 11:42 PM

/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.

slakmagik 11-13-2006 11:56 PM

'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.


All times are GMT -5. The time now is 08:27 PM.