Question

Let's say that we have a very simple operating system that only supports a single directory,...

Let's say that we have a very simple operating system that only supports a single directory, but within that directory you can have an unlimited number of files, and those files can have very long file names. Can you think of a way to simulate a hierarchical file system in such an operating system? Explain.

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Let's say that we have a very simple operating system that only supports a single directory,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Operating Systems Concepts Assume we have a system wherein directory entries can hold up to 16...

    Operating Systems Concepts Assume we have a system wherein directory entries can hold up to 16 disk block addresses. For files that are not larger than 16 blocks, the 16 addresses are used as an index table for the file. For files that are larger than 16 blocks, the addresses point to indirect blocks which in turn point to 256 file (data) blocks each. Assume further that a block is1024 bytes. Please calculate how large a file could be (in...

  • In this assignment, you will demonstrate your ability to write simple shell scripts. This is a...

    In this assignment, you will demonstrate your ability to write simple shell scripts. This is a cumulative assignment that will challenge you to pull together a variety of lessons from throughout the course. 2 The Assignment Every now and then, I find myself with a large number of files that have inappropriate extensions (the set of characters in the file name after the last :') that need to be changed. For example, a complicated C++ program, developed by someone on...

  • Can you comment notes along with the code so I can follow along and understand what is being written?? Thanks in advance...

    Can you comment notes along with the code so I can follow along and understand what is being written?? Thanks in advance! Let's say we're in a directory and we want to rename every file ending in·c, to end in .C (i.e., capitalize the c'). Here's one way to do it: $ for i in *. c; b-basename "$1" .c'; mv "8b.c" do "8b.C". done Things get more complicated if you want more complex renaming. Say for example you just...

  • Python Help Please! This is a problem that I have been stuck on.I am only suppose...

    Python Help Please! This is a problem that I have been stuck on.I am only suppose to use the basic python coding principles, including for loops, if statements, elif statements, lists, counters, functions, nested statements, .read, .write, while, local variables or global variables, etc. Thank you! I am using python 3.4.1. ***( The bottom photo is a continuation of the first one)**** Problem statement For this program, you are to design and implement text search engine, similar to the one...

  • 4. A file system in Unix is using a dray sucture mut s aj A tree bj A list of flie names and abunes c) A single-ievel directony d) Two-level directory ej A circular ist 5. We call a resource a crtica...

    4. A file system in Unix is using a dray sucture mut s aj A tree bj A list of flie names and abunes c) A single-ievel directony d) Two-level directory ej A circular ist 5. We call a resource a crtical resource t a) The use df the resource is crtically important so a pragram b) t can be used onily by one program ac a time c) t is a sharable resounce d) r may fal during operation...

  • C++ please Let's pretend that we can still go out to eat at a restaurant. Suppose...

    C++ please Let's pretend that we can still go out to eat at a restaurant. Suppose we have the job to make a program that accepts a dinner reservation. The information collected will be the name of the customer, the date for the reservation, the time for the reservation (good choice for a hierarchical struct), the number in the party, email address (for updates) and phone number. Define a hierarchical structure for a dinner reservation that will contain the above...

  • As you all know, I am a very weak person: I can only exert a force equivalent of a 10 Kg mass fal...

    As you all know, I am a very weak person: I can only exert a force equivalent of a 10 Kg mass falling under gravity. As a Physicist, I can think of a way to lift a 1000 lbs (pounds) car. Design a system using fluid properties we have learned that will allow me to do that.

  • Each stop at a space station usually means that we have to unload and reload our...

    Each stop at a space station usually means that we have to unload and reload our cargo bay. Each time we arrive at a station, we must unload our cargo into the station hold for inspection and reload it back into our own ship’s cargo hold when we wish to leave. This is becoming very tedious and taking away time that we could be plundering in space. We head into the station central to research a way to eliminate this...

  • I need help writing this C code. Here is the description: Let's say we have a...

    I need help writing this C code. Here is the description: Let's say we have a program called smart typing which does two things: The first letter of a word is always input manually by a keystroke. When a sequence of n letters has been typed: c1c2...cn and the set of words in the dictionary that start with that sequence also have c1c2...cnc then the smart typing displays c automatically. we would like to know,  for each word in the dictionary,...

  • Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple...

    Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple program. Generally, it reads a file as specified by the user and prints its contents. A typical usage is as follows, in which the user wants to see the contents of my-cat.c, and thus types: prompt> ./my-cat my-cat.c #include <stdio.h> ... As shown, my-cat reads the file my-cat.c and prints out its contents. The "./" before the my-cat above is a UNIX thing; it...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT