nerdexam
Linux_Foundation

LFCS · Question #779

An administrator has just added a CD-ROM drive (/dev/hdd) to a system and added it to the administrator's fstab. Typically the administrator can use which of the following commands to mount media in…

The correct answer is D. mount /mnt/cdrom. When a filesystem is correctly defined in /etc/fstab, it can be mounted by simply specifying its designated mount point.

Submitted by paula_co· Apr 18, 2026Storage Management

Question

An administrator has just added a CD-ROM drive (/dev/hdd) to a system and added it to the administrator's fstab. Typically the administrator can use which of the following commands to mount media in that drive to /mnt/cdrom?

Options

  • Amount /dev/cdrom /mnt/cdrom
  • Bmount /dev/cdrom
  • Cmount -t cdrom /dev/cdrom /mnt/cdrom
  • Dmount /mnt/cdrom
  • Eautomount /mnt/hdd /mnt/cdrom}

How the community answered

(33 responses)
  • B
    3% (1)
  • C
    3% (1)
  • D
    91% (30)
  • E
    3% (1)

Why each option

When a filesystem is correctly defined in `/etc/fstab`, it can be mounted by simply specifying its designated mount point.

Amount /dev/cdrom /mnt/cdrom

This command specifies both the device and mount point; while it would work, it bypasses the convenience of `fstab` and uses a generic `/dev/cdrom` which might not be the specific device `/dev/hdd`.

Bmount /dev/cdrom

This command only specifies the device; without a mount point, `mount` would attempt to mount to a default location (often a temporary directory) or fail, not `/mnt/cdrom` as intended via `fstab`.

Cmount -t cdrom /dev/cdrom /mnt/cdrom

This command explicitly defines the filesystem type and both device and mount point, which is redundant if `fstab` is already configured for the mount.

Dmount /mnt/cdromCorrect

If an entry for a device and its mount point (`/dev/hdd` to `/mnt/cdrom`) is properly configured in `/etc/fstab`, the `mount` command can be executed with just the mount point as an argument. The system will then consult `/etc/fstab` to find the associated device, filesystem type, and options to perform the mount.

Eautomount /mnt/hdd /mnt/cdrom}

`automount` refers to the `autofs` service for automatic mounts and is not the command used for manually mounting an `fstab` entry; `/mnt/hdd` is also an incorrect device path.

Concept tested: Mounting filesystems with fstab

Source: https://man7.org/linux/man-pages/man8/mount.8.html

Topics

#fstab#mount command#Filesystem management

Community Discussion

No community discussion yet for this question.

Full LFCS Practice