Beruflich Dokumente
Kultur Dokumente
PROBLEM 1
Given a linux file system, identify the access mode of the following files in the form of decimal number
rw-r--r-- 644
rwxr-xr-x 755
rwxr-xr-x 755
r-xr-x--- 550
Identify the access mode of the following file with the corresponding decimal representation
440 r--r-----
644 rw-r--r--
755 rwxr-xr-x
777 rwxrwxrwx
PROBLEM 2
Given a file with the length of 5MB in a contiguous allocation file system, the block size is 2KB. Identify
the location of the file in term of (block_id, offset) of the following reference/position:
PROBLEM 3
Given a file with the length of 15MB in an extent-base file system, the block size is 2KB, the extent size is
200. Identify the location of the file in term of (extent, block_id, offset) of the following
reference/position:
(6,86) (4,624) (1026,12) (19,80) (4275, 1779) (4286,654) (6156, 52) (449,776)
PROBLEM 5
Given a file with the length of 34MB in a linked list file system, the block size is 2KB, the pointer size is 4
bytes. Identify the location of the file in term of (block_id, offset) of the following reference/position:
Same problem 4
PROBLEM 6
Given a file with the length of 4MB in an indexed allocation file system, the block size is 8KB, the pointer
size is 4 bytes. Identify the location of the file in term of (block_id, offset) of the following
reference/position:
PROBLEM 7
Given a file with the length of 15MB in a two-level indexed allocation file system, the block size is 8KB,
the pointer size is 4 bytes. Identify the location of the in term of (level 2 index block, block_id, offset) of
the following reference/position:
PROBLEM 8
Given a file with the length of 15MB in a linked index allocation file system, the block size is 2KB, the
pointer size is 4 bytes. Identify the location of the file in term of (index block, block_id, offset) of the
following reference/position:
2
PROBLEM 9
Given a file with the length of 15MB in a UNIX file system, the block size is 2KB, the pointer size is 4
bytes. Identify the location of the file in term of (direct, single indirect, double indirect, tripple indirect
with corresponding information) of the following reference/position:
Identify the total numbef of index block used according to the above references.
PROBLEM 10
Given a file with the length of 15MB in a LINUX file system, the block size is 4KB, the pointer size is 4
bytes. Identify the location of the file in term of (direct, single indirect, double indirect, tripple indirect
with corresponding information) of the following reference/position:
Identify the total numbef of index block used according to the above references.