Challenge - 5 Problems
File System Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
Identify the file system type of a mounted partition
You run the command
df -T /home on a Linux system. What is the expected output format for the file system type column?Linux CLI
df -T /home
Attempts:
2 left
💡 Hint
The
-T option in df shows the file system type.✗ Incorrect
The
df -T command lists disk space usage and includes the file system type in the second column, such as ext4 or xfs.🧠 Conceptual
intermediate1:30remaining
Difference between ext4 and xfs file systems
Which statement correctly describes a key difference between ext4 and xfs file systems?
Attempts:
2 left
💡 Hint
Think about performance and typical use cases for each file system.
✗ Incorrect
xfs is designed for high-performance with large files and parallel I/O workloads, while ext4 is a versatile, general-purpose file system.
🔧 Debug
advanced2:00remaining
Fix the error when creating an xfs file system
You run
mkfs.xfs /dev/sdb1 but get an error: Device or resource busy. What is the most likely cause?Attempts:
2 left
💡 Hint
Check if the device is in use before formatting.
✗ Incorrect
You cannot format a partition that is currently mounted. Unmount it first to avoid the 'Device or resource busy' error.
🚀 Application
advanced2:00remaining
Mount an ext4 file system with specific options
You want to mount an ext4 partition at /mnt/data with read-only access and no execution of binaries. Which mount command is correct?
Attempts:
2 left
💡 Hint
Specify the file system type and options explicitly.
✗ Incorrect
Option D correctly specifies ext4 file system type with read-only and no execution options.
💻 Command Output
expert2:30remaining
Output of xfs_info command on an xfs partition
What kind of information does the
xfs_info /dev/sdd1 command provide?Attempts:
2 left
💡 Hint
Think about file system structure details, not usage or file listing.
✗ Incorrect
xfs_info shows metadata details such as block size, inode size, and allocation groups of the xfs file system.