000-221 · Question #29
What is the purpose of using tape drive special files?
The correct answer is A. To specify an action during certain tape operations. Tape drive special files (device files) in Unix/Linux control tape device behavior such as rewinding or not rewinding after an operation, allowing administrators to specify actions during tape operations.
Question
What is the purpose of using tape drive special files?
Options
- ATo specify an action during certain tape operations
- BTo eject tapes at the end of a tape operation
- CTo configure alternate pathing of tape devices
- DTo enable the tape SCSI Device Driver for a device
How the community answered
(16 responses)- A75% (12)
- B6% (1)
- C6% (1)
- D13% (2)
Why each option
Tape drive special files (device files) in Unix/Linux control tape device behavior such as rewinding or not rewinding after an operation, allowing administrators to specify actions during tape operations.
Tape drive special files, such as /dev/st0 (rewind) versus /dev/nst0 (no-rewind) on Linux, specify the behavior that occurs during and after tape operations. Choosing the appropriate device file controls actions like automatic rewind, allowing scripts and commands to dictate tape handling behavior.
Ejecting tapes is a function controlled by tape commands (such as 'mt eject'), not by the selection of a special device file itself.
Alternate pathing for tape devices is handled by multipath or SCSI configuration tools, not by tape special files.
Enabling a SCSI device driver is a kernel/module configuration task performed via kernel parameters or modprobe, not through tape special files.
Concept tested: Tape device special files and operation behavior control
Source: https://man7.org/linux/man-pages/man4/st.4.html
Topics
Community Discussion
No community discussion yet for this question.