Red Hat RHCA Certification Practice Exam – Full Practice Test & Prep Guide

Session length

1 / 400

What command is used to show the path of block devices on the system, file system types, their mount point, and UUIDs?

lsblk -fp

The command that is most suitable for showing the path of block devices, file system types, their mount points, and UUIDs is `lsblk -fp`.

When you use the `lsblk` command with the `-f` option, it displays additional information including the filesystem type, mount points, and UUIDs for each block device present in the system. The `-p` option ensures that the complete path of the block devices is shown, which is helpful for identification and management. This command provides a clear and comprehensive view of the block device configuration in a user-friendly format, making it easier for administrators to manage disks and partitions effectively.

In contrast, while `blkid -o list` also provides information about block devices and their UUIDs, it does so in a less user-friendly format, focusing primarily on identifiers without organizing the data into a table with mount points and device paths. The `df -T` command mainly provides disk usage information and file system types for mounted files, but doesn't list all block devices or their paths. `fdisk -l` offers detailed information about disk partitions, but does not specify mount points or UUIDs directly, and is more focused on partitioning details rather than user-friendly summaries of filesystem

Get further explanation with Examzify DeepDiveBeta

blkid -o list

df -T

fdisk -l

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy