Design a file system checker for our file system

Assignment Help Basic Computer Science
Reference no: EM13706087

Design a file system checker for our file system. You should call it csefsck. It will have to do the following:

  1. The DeviceID is correct
  2. All times are in the past, nothing in the future
  3. Validate that the free block list is accurate this includes
    1. Making sure the free block list contains ALL of the free blocks
    2. Make sure than there are no files/directories stored on items listed in the free block list
  4. Each directory contains . and .. and their block numbers are correct
  5. Each directory's link count matches the number of links in the filename_to_inode_dict
  6. If the data contained in a location pointer is an array, that indirect is one
  7. That the size is valid for the number of block pointers in the location array. The three possibilities are:
    1. size<blocksize if and size>0
    2. size<blocksize*length of location array if indirect!
    3. size>blocksize*(length of location array-1) if indirect

 

Reference no: EM13706087

Questions Cloud

Describe the logistics system : Describe the steps in making sure that flights take off on time for an airline. Describe the different steps that must occur for an on-time plane departure.
What is use of the mac and ip for vlan 1 in a cisco switch : Implement the network topology using Packet Tracer - How many MAC does the 24 port Cisco switch used in the Packet Tracer - How many MAC does the 24 port Cisco switch used in the Packet Tracer has and what is the use of the MAC and IP for VLAN 1 in ..
The solution is some real number : Let P be a problem. For any instance x ∈ P, the solution is some real number f(x). Let A be a randomized algorithm for P, such that it gives a solution A(x) that lies in [1/2f(x), 2f(x)] with probability 2/3.
Using a competitive ratio measure : Imagine you are standing next to a long fence, extending as far as you can see in both directions. You want to cross the fence and you know that somewhere it has a hole you can go through. But, you don't know whether the hole is to your right or..
Design a file system checker for our file system : Design a file system checker for our file system. You should call it csefsck. It will have to do the following: The DeviceID is correct All times are in the past, nothing in the future Validate that the free block list is accurate this includ..
Suppose you want to manage a relatively small project : Suppose you want to manage a relatively small project, but you have no access to project management software of any kind. How could you use a spreadsheet program or a database program to manage the project? Share your ideas in 750 words.
Advantages and disadvantages to a firm of financial hedging : What are the advantages and disadvantages to a firm of financial hedging of its operating exposure compared to operational hedges (such as relocating its manu-facturing site)?
Control recommendation strategies in computer security : Control recommendation strategies in computer security environment. This must be an APA style report with in text citation for example (Stallings, 2012) and I need the reference in APA style at the end.
Give an example of an instance of stable matching problem : Give an example of an instance of stable matching problem with at least three different stable matchings. That is, for some positive integer n, give ranking lists for each of n doctors L1, ..., Ln and ranking lists for each of n hospitals L01, ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe how hazard curve is formed

What remains today... And analyzing hundreds of miles of river banks... Large earthquakes in 1450 and 900 A.D. What is meant by a Hazard Curve? Ground Motion Hazard = Rate times.

  The evolution of e-marketing tools

The Evolution of E-Marketing Tools

  Design moduleaccept an integer store input in the reference

Design a module, using pseudocode, named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference paramter variable.

  Find the redundancy percent in each case

We want to transmit 1000 characters with each character encoded as 8 bits.

  What are the benefits of using tangible interfaces

What are the benefits of using tangible interfaces compared with other interfaces like GUI, pen-based or gesture?

  Browser immediately checks data is correct. true or false

When a user enters data into a form then submits the form (typically, by clicking the Submit button), the browser immediately checks that the data is correct. True or False

  What rc key value leave state vector during initialization

What RC4 key value will leave state vector, S unchanged during initialization? That is after the initial permutation of S, the entries of S will be equal to the values.

  What is the order of the public key?

the weaknesses that arise in Elgamal encryption if a public key of small order is used. We look at the following example. Assume Bob uses the group Z ? 29 with the primitive element ?= 2. His public key is ?= 28.

  Find and prove the efficiency class

Find and Prove the Efficiency Class of the following Recurrences. Show your work.

  Construct the work breakdown structure

Construct the Work Breakdown Structure, define all of the activities and sequence these, schedule the project and then resource and budget the project using Microsoft Office Project.

  Which of these conditions returns true

Which of these conditions returns true? Check the Java documentation for the inheritance patterns.

  Which type of exception would be written as the parameter

Which type of exception would be written as the parameter of a catch-clause if the try-clause is calling new and we want to check whether the free store has run out of space? 16. What do you call the following function? bool operator==(Name otherN..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd