File System: Links
Due Apr 20 at 11:59pm Points 7 Ques!ons 6 Available un!l Apr 28 at 11:59pm
Time Limit None Allowed A”empts Unlimited Instruc!ons
This quiz is designed to help you ensure you understand how hard links and so# links (or symbolic or symlinks) can be used in UNIX-based File Systems.
A”empt History
A”empt KEPT A”empt 4
LATEST A”empt 4 A”empt 3 A”empt 2 A”empt 1
Take the Quiz Again
Time
less than 1 minute less than 1 minute less than 1 minute less than 1 minute 4 minutes
Score
7 out of 7 7 out of 7 5 out of 7 5 out of 7 4 out of 7
” Correct answers are hidden.
Score for this a”empt: 7 out of 7 Submi”ed Apr 19 at 2:52am
This a”empt took less than 1 minute.
Ques!on 1
1 / 1 pts
It is an error when someone tries to create a symbolic link to a “target” name that is not valid (True/False).
False True
Ques!on 2
1 / 1 pts
Which of the following are true about a so#-link?
It is valid across file systems It cannot link directories
It has the actual file contents and hence we can view the file contents even if the target file has been removed
It takes less disk space than a hard-link
Ques!on 3
1 / 1 pts
If a hard-link to a target file is removed and the number of hard links to that file are now zero, we will not be able to access the file (True/False).
True False
Ques!on 4
1 / 1 pts
If a so#-link to a source file is removed we will not be able to access the file (True/False).
False True
Ques!on 5
1 / 1 pts
If the hard-link to a source file is removed (assuming that the number of hard links to the file is not zero), we will not be able to access the file (True/False).
False True
Ques!on 6
2 / 2 pts
Which of the following are true about so# links?
Their data blocks contain the path name to the target it links to They are only created if the target exists
Their inodes are of the same type as the target they point to They can link to directories
They increment the reference count of the target inode
Quiz Score: 7 out of 7