Question

Operating System. Please only answer this question if you are sure of the answer, thank you....

Operating System.

Please only answer this question if you are sure of the answer, thank you.

Please provide an explanation for your answer as to why it is for what it is.

Assume that the maximum capacity of a file system space is 8TB (1TB = 240 bytes), and the disk block size is 2KB. The file control block (FCB) contains an index table of 512 bytes. Answer the following questions:

Suppose that the index table only adopts the direct index structure, and stores the disk block numbers occupied by the file. How many bytes are required for each index table entry to represent a disk block number? What is the maximum length of a single file that can be supported by this scheme?

Homework Answers

Answer #1

capacity of file system=8TB

disk block size is 2KB

Therefore number of disk blocks=size of file system/disk block size

There fore we need 32 bits to address a block.

Each index table entry has bits to address a block

So index table entry=32 bits=4Bytes.

index table size=512B.

Number of entries in index table=size of index table/size of one entry.

=512/4

=128

.Hence there are 128 entries in index table and each entry points to a 2 KB block.

So maximum file size=number of entries in index table* disk block size

=128*2 KB

=256 KB

maximum file size of a single file=256KB

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Please answer the following question. (Answer only if you are really sure. Please don't guess). Thank...
Please answer the following question. (Answer only if you are really sure. Please don't guess). Thank you Select the correct statement(s) regarding centralized (deterministic) access control on a LAN. a. a centralized node manages the medium access of all connected nodes through polling, tokens, etc. b. CSMA/CD or CSMA/CA are always required to prevent data collisions c. switch Ethernet is an example of centralized/deterministic access control d. all of the above are correct Full-duplex (FDX) communications can only be achieved...
Please answer the following. Thank you, I'll rate. A 500 g steel block rotates on a...
Please answer the following. Thank you, I'll rate. A 500 g steel block rotates on a steel table while attached to a 1.20 m -long hollow tube. Compressed air fed through the tube and ejected from a nozzle on the back of the block exerts a thrust force of 4.91 N perpendicular to the tube. The maximum tension the tube can withstand without breaking is 60.0 N . Assume the coefficient of kinetic friction between steel block and steel table...
(please only answer this if you know how to do GDP Accounting, thank you). 1. Assume...
(please only answer this if you know how to do GDP Accounting, thank you). 1. Assume an economy with two firms. Firm A produces wheat and firm B produces bread. In a given year, firm A produces 50,000 bushels of wheat, sells 20,000 bushels of wheat to firm B at $3 per bushel, exports 25,000 bushels of wheat at $3 per bushel, and stores 5,000 bushels as inventory. Firm A pays $50,000 in wages to consumers. Firm B produces 50,000...
Please answer only if you are sure about the solution. On 1 Nov 2016, Burwood Limited...
Please answer only if you are sure about the solution. On 1 Nov 2016, Burwood Limited based in Australia ordered inventories to the value of US $ 3000000 on FOB destination terms. The goods are shipped on 1 April 2017 and are paid for on 30 June 2017. Burwood Limited also entered into a forward exchange contract of  US $ 3000000 on 1 Nov 2016 with NYC Bank in which NYC Bank agrees to supply Burwood Limited with US $ 3000000...
Please answer all parts. Thank you! 1. Explain the correspondence that lets us easily translate between...
Please answer all parts. Thank you! 1. Explain the correspondence that lets us easily translate between linear motion and rotational motion. What are the linear analogues of the rotational quantities we have discussed in lecture i.e. angle, angular velocity, angular acceleration and moment of inertia? Where does the correspondence seem to fail? 2. Explain, in words, how we know that a freely spinning asteroid in space is rotating about an axis that passes through its center of mass? 3. You...
Please only answer no need to explain. Thank you _____20. All of the following are caused...
Please only answer no need to explain. Thank you _____20. All of the following are caused by rickettsia except                  A. Rocky Mountain spotted fever                   B. sleeping sickness                  C. epidemic typhus                                         D. endemic murine typhus _____21. All of the following are herpes viruses or are caused by herpes viruses except                  A. kuru      B. Burkitt’s lymphoma      C. infectious mononucleosis     D. cytomegalovirus _____22. The tiger mosquito                  A. is Aedes aegypti     B. better adapted to cooler climates than other mosquitoes...
Please answer all, Thank you. 1. A firework is designed so that when it is fired...
Please answer all, Thank you. 1. A firework is designed so that when it is fired directly upwards, it explodes and splits into three equal-massed parts at its peak. Someone launches the firework directly upwards and measures the locations of two of the pieces of the firework. They find that one piece landed 2 meters to the left and another piece landed two meters in front of them. Where did the third piece of land? 2. A Newton's cradle is...
I ONLY NEED THE ANSWER TO QUESTION 7, THANK YOU Determine the amount of sales (units)...
I ONLY NEED THE ANSWER TO QUESTION 7, THANK YOU Determine the amount of sales (units) that would be necessary under Break-Even Sales Under Present and Proposed Conditions Darby Company, operating at full capacity, sold 89,100 units at a price of $105 per unit during the current year. Its income statement for the current year is as follows: Sales $9,355,500 Cost of goods sold 4,620,000 Gross profit $4,735,500 Expenses: Selling expenses $2,310,000 Administrative expenses 2,310,000 Total expenses 4,620,000 Income from...
PLEASE answer all of the follwing, thank you! The Ramapo Company produces two products, Blinks and...
PLEASE answer all of the follwing, thank you! The Ramapo Company produces two products, Blinks and Dinks. They are manufactured in two departments, Fabrication and Assembly. Data for the products and departments are listed below. Product Number of Units Labor Hours Per Unit Machine Hours Per Unit Blinks 1,171 1 5 Dinks 1,954 7 6 All of the machine hours take place in the Fabrication department, which has an estimated overhead of $93,900. All of the labor hours take place...
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as...
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as possible: What is a checked exception, and what is an unchecked exception? What is NullPointerException? Which of the following statements (if any) will throw an exception? If no exception is thrown, what is the output? 1: System.out.println( 1 / 0 ); 2: System.out.println( 1.0 / 0 ); Point out the problem in the following code. Does the code throw any exceptions? 1: long value...