Computer Science Fundamentals Operating Systems Objective
Mar 10, 2013

Choose the correct answers if the command ls -l /dev/mt0 display's

brw_rw_ _ _ _ 1 root 3, 0 Apr18 1:05 mt0

Choose the correct answer:
A) The 'b' indicates that it is a special file
B) mt0 indicates that it is a tape drive
C) The ' b' indicates that data transfer is done in blocks
D) All of these
Detailed Explanation

For regular (ordinary) files the first character (i.e. b here), will be just a underscore. For directories d. for character special files ' ' and ' b' for a block read special file. The last column will have lp for line printer. hp for disk drives. tty for terminals etc. The 3 in 3 , denotes the major device number and - minor device number. That is. this system denotes tape drives by 3 and 0 to single out a particular tape drive from the many tape drives, the system may have.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback