nerdexam
CompTIA

LX0-103 · Question #148

What information is displayed by the command cat/proc/dma?

The correct answer is A. whether DMA is enabled. /proc/dma is a kernel virtual file that exposes the registration status of ISA DMA channels, showing which are active and enabled.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

What information is displayed by the command cat/proc/dma?

Options

  • Awhether DMA is enabled
  • Bwhich DMA channels are in use
  • Cwhich DMA mode is in use
  • Dgeneral information about DMA on the machine

How the community answered

(55 responses)
  • A
    89% (49)
  • B
    5% (3)
  • C
    2% (1)
  • D
    4% (2)

Why each option

/proc/dma is a kernel virtual file that exposes the registration status of ISA DMA channels, showing which are active and enabled.

Awhether DMA is enabledCorrect

The /proc/dma virtual file is maintained by the Linux kernel and updated dynamically as device drivers register or release ISA DMA channels. Each line pairs a channel number with the driver that has claimed it, directly indicating whether DMA is enabled and active on the running system. This file is the standard kernel-provided mechanism for querying DMA channel enablement status.

Bwhich DMA channels are in use

The file records channel-to-driver registration mappings; the registration entry itself is what indicates enablement, so listing 'channels in use' is a consequence of DMA being enabled rather than the primary information displayed.

Cwhich DMA mode is in use

/proc/dma does not report DMA transfer modes such as burst, demand, or cycle-steal; it only records which channels are claimed by which drivers.

Dgeneral information about DMA on the machine

/proc/dma contains only per-channel registration entries, not a broad general overview or summary of DMA hardware capabilities on the machine.

Concept tested: Linux /proc/dma virtual file and DMA channel status

Source: https://www.kernel.org/doc/html/latest/filesystems/proc.html

Topics

#proc filesystem#DMA#system information#hardware status

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice