Computing.Net > Forums > Unix > Unix inode

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unix inode

Reply to Message Icon

Name: kayvan
Date: August 16, 2002 at 18:02:49 Pacific
Comment:

If we have, file system that each disk block in file system is 2kb in size. The inode has 12 direct block2, 2 single level indirect block and 1 double indirect block. Suppose a block need 4 bytes to present.
If one file has 2070 KB.
Will this file utilize the double indirect block? Why?
What is the maximum file size this file system can represent? Why?




Sponsored Link
Ads by Google

Response Number 1
Name: Frank
Date: August 19, 2002 at 02:16:28 Pacific
Reply:


a) Yes, because single level indirect block is only able to handel 2048Kb in this config.

b) 1GB, because you are using double indirect within 2Kb block size.


No RISK no fun
Frank


0
Reply to Message Icon

Related Posts

See More


Process files using shell... /var full, have another v...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Unix inode

unix Inodes www.computing.net/answers/unix/unix-inodes/4504.html

unix inodes www.computing.net/answers/unix/unix-inodes/4281.html

inode error www.computing.net/answers/unix/inode-error/5856.html