How do you create special files like named pipes and device files? The system call mknod creates special files in the following sequence. kernel assigns new inode, sets the file type to indicate that the file is a pipe, directory or special file, If it is a device file, it makes the other entries like major, minor device numbers. For example: If the device is a disk, major device number refers to the disk controller and minor device number is the disk. - Study24x7
Social learning Network
17 Feb 2023 12:32 PM study24x7 study24x7

How do you create special files like named pipes and device files? The system call mknod creates special files in the following sequence. kernel assigns new inode, sets the file type to indicate that the file is a pipe, directory or special file, If it is a device file, it makes...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles