How does the kernel differentiate device files and ordinary files?

Kernel checks 'type' field in the file's inode structure.

Showing Answers 1 - 1 of 1 Answers

umesh

  • Feb 15th, 2006
 

device filles are of 2 types --- charcater device file and block device file

type field in the file's inode structure

b--- block device file

c--- character device file

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions