how unix kernel distinguishes between a normal file and
device file ?

Answer Posted / komall ambastha

Device files are referenced by a major number, which
identifies the device type, and a minor type, which
identifies the unit, or instance of that major type.
Kernel distinguish between an ordinary file and
device/special file with Major number

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat and more command?

627


Who wrote grep?

587


How do I search for text in vi?

588


What is {} in find command?

584


What is updatedb?

590






How do I run a whois command?

605


Is grep faster than awk?

561


What is the difference between awk and grep?

561


What are filter commands in unix?

555


Write a command that will display files in the current directory, in a colored, long format.

688


Using unix command how to display no of records in oracle?

613


What does the “echo” command do?

624


What is the functionality of a top command?

628


hw will u use awk in replacing cahrs and files

2736


Name the unix command to find how many days the server has been up.

605