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

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.
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:...
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
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...
What are System calls. Provide 6 file and directory system calls
What are System calls. Provide 6 file and directory system calls
Go to your “Documents” directory; a) Create a file “file1” with the text “hello” in it;...
Go to your “Documents” directory; a) Create a file “file1” with the text “hello” in it; Provide command and screenshot. b) Create a hard link named “file2” linked to “file1”; c) Create a soft link named “soft1” linked to “file1”; create another soft link named “soft2” linked to “file2”. d) View information of the 4 files (what command should you use to produce output) – how do you verify which file is a hard link and which file is a...
Explain the types of information that can be stored in an Active Directory user record. What...
Explain the types of information that can be stored in an Active Directory user record. What are some of the additional tabs which are available in the Active Directory Users and Computers "Advanced Features" mode? What are some of the specific challenges and risks associated with account management in a large infrastructure? How can inadequate access controls or access management leave critical information vulnerable? What protections does encryption offer and how important is key management to keeping any encryption system...
The IBM System/370 architecture uses a two-level memory structure and refers to the
The IBM System/370 architecture uses a two-level memory structure and refers to the two levels as segments and pages, although the segmentation approach lacks many of the features described earlier in this chapter. For the basic 370 architecture, the page size may be either 2 Kbytes or 4 Kbytes, and the segment size is fixed at either 64 Kbytes or 1 Mbyte. For the 370/XA and 370/ESA architectures, the page size is 4 Kbytes and the segment size is 1...
Query the user for the name of a file. Open the file, read it, and count...
Query the user for the name of a file. Open the file, read it, and count and report the number of vowels found in the file. Using C++.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT