Questions tagged [mknod]
33 questions
0
votes
1 answer
Named pipes for client server implementation-How will server distinguish between two request from the same client
I have tried to implement client server model using named pipe. Now when client sends only one message to server the server is able to identify what was the message sent and prints it out. Now if client sends multiple message to same server, the…

Kunal
- 55
- 7
0
votes
1 answer
OSX documentation for mknod
I thought the documentation over at Apple was a little sparse on major/minor numbers for mknod. I was trying to create a raw character device for the microphone so that I could pipe data into it. On a proper linux system the kernel's…
-1
votes
1 answer
How to construct mknod argument with device major and minor numbers
Lets say I want to create /dev/cosole. With the mknod command I do the following
mknod -m 666 /dev/console c 5 1
If I want to do in in C code I have to do the following
#include
static inline void (){
mknod("/dev/console", 0600,…

Bret Joseph
- 401
- 3
- 13