Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do you grep a case insensitive?

1044


What is the use of awk command in unix?

1121


Can you explain a little bit about command substitution?

1112


how to sort the content of the file based on numeric values

1779


How do I search a whole word in vim?

1176


What is unix command line?

1248


What are the differences among a system call, a library function, and a unix command?

1217


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1218


What does 'mkdir' command do in UNIX?

1307


Why is it called grep?

1026


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1395


What does the “echo” command do?

1150


How to display no of records in oracle using unix command?

1168


Who invented grep?

1158


What is the pipe command?

1188