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 are filter commands in unix?

636


What is unix command?

689


What do know about tee command?

685


why metadb requires a seperate slice to create Solaris volume manager

2654


What does #!/ Bin sh do?

669






What is the function of grep command in unix?

686


How to use grep command to list find the records of a file containing 10 different strings?

729


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

710


What is the unix command to confirm a remote host is alive or not?

669


Can you enlist some commonly used network commands?

681


What is the difference between cat command and more command?

676


How to find $ai_serual resolved path by using unix

1140


How do I search a whole word in vim?

771


How do you repeat a command in terminal?

705


What does pipe () return?

676