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 is the time for incident, problem and change management tickets?

0 Answers   CGI,


why do you need to have a swap file system?

1 Answers  


Which is the most commonly used replacement algorithm?

0 Answers   Aditi Placement Service,


virtual terminal protocol is an example of which layer and works with which layer?

1 Answers   DOEACC, Virtusa,


how can we create the script in crontab at mid night on sunday,satuarday,fiday 0n monyh october,november,january? please give me answer if anybody knows ? because on important purpose.

2 Answers  






The UNIX shell is.... a).does not come with the rest of the system b).forms the interface between the user and the kernal c) does not give any scope for programming d) deos not allow calling one program from with in another e) all of the above

2 Answers   IBM,


Explain iostat, vmstat and netstat.

2 Answers  


How does the inode map to data block of a file?

3 Answers  


hi.when will u come to klnce 4 campus interviews??/

0 Answers  


If the terminal is not showing the login prompt,what's the 1st thing you should check?and how do you solve the problem?

2 Answers   TCS,


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

3 Answers  


What is a FIFO?

2 Answers  


Categories