does the stat() function call use the inode of the file to
generate the information about a file? what is inode mostly
used for?



does the stat() function call use the inode of the file to generate the information about a file? w..

Answer / kiruthikau

In Unix each and every directories and files have inode numbers.

In Unix files and directories are identified by inode number
only.

Using stat we can find the inode number for a file or directory.

inode contains the informations about the file or directory.




Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Unix AllOther Interview Questions

What are the files in /etc directory?

6 Answers   TCS, Wipro,


How do you log in to a remote Unix box?

2 Answers  


What UNIX command will control the default file permissions when files are created?

3 Answers  


how to set request time out value for name resolution on clients (hp-ux) ?

1 Answers   Amdocs,


What does the ?route? command do?

2 Answers  






Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?

0 Answers  


What are each of the standard files and what are they normally associated with?

1 Answers   ITCO,


What is the main advantage of creating links to a file instead of copies of the file?

5 Answers   Cisco, ING,


What is a Map?

0 Answers  


How do I log into a remote Unix machine(as a root/normal user)?Please specify with command user and argument.

3 Answers  


From command line how will you add a user account?

2 Answers  


what is difference between milestone and run-levels in Solaris ?

0 Answers  


Categories