(c) (3pts) Assume 1000-byte disk blocks. Suppose that each directory entry consumes 100 bytes. Suppose in \"bar.exe\" is the 35th directory entry in the directory \"foo\". How many data blocks of the \"foo\" inode must be accessed to find the file \"bar.exe\"?
Added by Jose Miguel S.
Close
Step 1
Each directory entry consumes 100 bytes, so the 35th directory entry "bar.exe" would be located at byte offset 35 * 100 = 3500 in the directory "foo". Show more…
Show all steps
Your feedback will help us improve your experience
Shelayah Robinson and 87 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Given the file system architecture we've studied in the text and in our meetings, with data blocks of 1,024-byte size, how many disk reads would need to be performed to get the inode for the following into memory [a]: /usr/include/linux/const.h? Note, the only node in memory is the inode for /
Akash M.
If a USB flash drive can store 16 gigabytes (GB) of data, and a computer hard disk has a capacity of 2.0 terabytes (TB), how many flash drives of data can be loaded onto the hard disk?
Salvador has a flash disk of 1.5GB and wants to store more music files of 950KB each. How many files will he be able to store on his flash disk?
Paul G.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD