Create an Account

Already have account?

Forgot Your Password ?

Home / Questions / On page 272 of your text there is a list of file attributes; these are attributes that can...

On page 272 of your text there is a list of file attributes; these are attributes that can be maintained within the file’s metadata for example within the i-node of a file in

On page 272 of your text, there is a list of file attributes; these are attributes that can be maintained within the file’s metadata (for example, within the i-node of a file in a UNIX-like file system.). a. Name three attributes from this table that are typically maintained in the file i-node for most UNIX-list file systems. (Names only, no explanation needed.) b. Name two attributes from this table that are not typically maintained in the file i-node for most UNIX-like file systems. c. For these two attributes identified in b., discuss why these attributes either are not useful for UNIX-like systems, or if you think they would be useful, why. 2. Janet is working on a UNIX-like operating system where she is dealing with very large files. As part of her tasks, she needs to move those files to different areas of the file systems. In some cases, Janet notices that the file move takes place almost instantaneously. In other cases, she observes that the file move takes a noticeably greater amount of time. This behavior seems to be independent of the system load. a. If Janet moves a file to a different file in the current directory, do you think it will execute fast or slow? Why? b. If Janet moves a file to a different directory, she observes that if can run fast or slow. Describe the scenario when the file move is fast, and why? c. Describe the scenario when Janet’s file move is slower. Explain why it is slow.

Document Preview:
 

1. On page 272 of your text, there is a list of file attributes; these are attributes that can be maintained within the file’s metadata (for example, within the i-node of a file in a UNIX-like file system.). a. Name three attributes from this table that are typically maintained in the file i-node for most UNIX-list file systems. (Names only, no explanation needed.) b. Name two attributes from this table that are not typically maintained in the file i-node for most UNIX-like file systems. c. For these two attributes identified in b., discuss why these attributes either are not useful for UNIX-like systems, or if you think they would be useful, why. 2. Janet is working on a UNIX-like operating system where she is dealing with very large files. As part of her tasks, she needs to move those files to different areas of the file systems. In some cases, Janet notices that the file move takes place almost instantaneously. In other cases, she observes that the file move takes a noticeably greater amount of time. This behavior seems to be independent of the system load. a. If Janet moves a file to a different file in the current directory, do you think it will execute fast or slow? Why? b. If Janet moves a file to a different directory, she observes that if can run fast or slow. Describe the scenario when the file move is fast, and why? c. Describe the scenario when Janet’s file move is slower. Explain why it is slow. 3. Suppose a file is on a filesystem using a 1K block size. This file is maintained on the disk using i-nodes as is typical on many UNIX filesystems (as described on page 324-325, and also on page 789-790, of your text). Suppose there are seven direct (32-bit) pointers, and then a pointer to one singly direct block, a pointer to a doubly indirect block, and a pointer to a triply indirect block. Suppose a program creates and opens a file in this filesystem, and then seeks to the following positions, writes a character, and then exits. Identify how many...

Jun 25 2020 View more View Less

Answer (Solved)

question Subscribe To Get Solution

Related Questions