Question

In: Computer Science

In the two-level directory, if a user refers to a particular file then__________________ Select one: a....

In the two-level directory, if a user refers to a particular file then__________________

Select one:

a. first UFD (user file directory) is searched, then MFD (master file directory)

b. only his/her own UFD (user file directory) is searched

(WRONG)c. first MFD (master file directory) is searched, then UFD (user file directory)

d. only MFD (master file directory) is searched

When the exclusive lock is applied to a file then _____________

Select one:

a. many processes can read and write to this file concurrently

b. only one process can write to this file, but many processes can read it concurrently

c. processes can write to this file only

d. only one process can use this file

Which of these RAID levels is best for storing large volumes of data?

Select one:

a. RAID level 3

b.

RAID levels 0 + 1 and 1 + 0

c. RAID level 4

d. RAID level 5

Solutions

Expert Solution

1) In the two-level directory, if a user refers to a particular file

Answer: b. only his/her own UFD (user file directory) is searched

  • In the two-level directory structure, each user has his own user file directory (UFD). The UFDs have similar structures, but each lists only the files of a single user.
  • When a user job starts or a user logs in, the system's master file directory (MFD) is searched.
  • It cannot be "first UFD (user file directory) is searched, then MFD (master file directory)" and "first MFD (master file directory) is searched, then UFD (user file directory)" since only UFD is searched in two level directory.
  • In two level directorey when a user job starts or a user logs in, the system's master file directory (MFD) is searched. So it cannot be the answer.

The answer is 100% correct. I was not sure about the parts so I didn't answer them.

Please let me know if you have any doubts on the first part.


Related Solutions

Write a script that prompts the user for a pathname of a file or directory and...
Write a script that prompts the user for a pathname of a file or directory and then responds with a description of the item as a file along with what the user's permissions are with respect to it (read, write, execute).
Write a program that creates a file called "data.dat" in the current directory. Prompt the user...
Write a program that creates a file called "data.dat" in the current directory. Prompt the user for five numbers, and write them, one at a time, on both the screen and into the file. Close the file, then open it again for reading only, and display the contents on the screen. Handle error conditions that may occur. Please Need this to be done in PERL. Thanks
Move the file “nfile2” into the “unix” directory. Copy the file “nfile1” into the “java” directory....
Move the file “nfile2” into the “unix” directory. Copy the file “nfile1” into the “java” directory. Show how you would create the files “test1”, “test2”, & “test3” in the “test” directory to ensure that they have the same file creation date/time. From the ~ folder, use the * and then the [ ] wildcard procedures to list all the files in the “test” directory. From the directory structure above, give an example of a relative path & an absolute path....
Ask the user for their name Create a file called "daily.dat" within the home directory Ask...
Ask the user for their name Create a file called "daily.dat" within the home directory Ask the user for a line of text that the system should save to the file Add to the file the line of text entered by the user Ask the user for a second line of text that the system should save to the file Append at the end of the file the line of text entered by the user Create a copy of the...
Parse the dirent struct to see if an entry is a directory or a file. If...
Parse the dirent struct to see if an entry is a directory or a file. If it is a directory, prepend "./" to the filename before printing it out. Include a main that does this below. Please do the above code using C language.
51.    The term "compensating differential" refers to Select one: a. a. a wage difference that...
51.    The term "compensating differential" refers to Select one: a. a. a wage difference that is due to unionization of some firms but not others. b. a. the fact that some workers live further from their jobs than do other workers. c. a. a wage difference that arises from nonmonetary characteristics of different jobs. d. a. the fact that workers who do similar work should be paid the same wage. 56. The poverty line is Select one: a. a....
Which of the following statements is NOT correct? Select one: a. Status asthmaticus refers to the...
Which of the following statements is NOT correct? Select one: a. Status asthmaticus refers to the typical chronic nature of asthma b. The aetiology of asthma is not fully understood c. Many factors can trigger asthma attacks d. It is estimated that some 235 million people have asthma worldwide e. Urbanization is associated with increased asthma prevalence
Write a bash script file that tests each file entry in the current directory. It should...
Write a bash script file that tests each file entry in the current directory. It should determine if it is a file or directory. If it is a file, it will determine if it is readable or not. If it is readable, it will display only the first 4 lines to the terminal in sorted order (just sort the first 4 lines). If it is a directory, it should display the contents of that directory (the files and subdirectories). NOTE:...
Create a file named work.sh in your hw5 directory. Give this file read and write permission...
Create a file named work.sh in your hw5 directory. Give this file read and write permission (no execute permissions) for you alone. No other account should have any access privileges to this file. Change the permissions on the work.sh file so you have read and write permissions. Give everybody else, including the group, read permissions only. Give yourself read, write and execute permissions to the file work.sh. Give everyone else, including the group, execute permissions only. Create a directory named...
The term divisional organization refers to the ___________ form of organization structure. Select one: a. customer...
The term divisional organization refers to the ___________ form of organization structure. Select one: a. customer b. product c. geographic d. functional
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT