Bird
0
0

After formatting /dev/sdf1 with ext4, what will the command file -s /dev/sdf1 output?

medium📝 Command Output Q5 of 15
Linux CLI - Disk and Storage
After formatting /dev/sdf1 with ext4, what will the command file -s /dev/sdf1 output?
ALinux rev 1.0 ext4 filesystem data
BXFS filesystem data
CDOS/MBR boot sector
DEmpty data
Step-by-Step Solution
Solution:
  1. Step 1: Understand file -s command

    This command reads the filesystem type on a device or file. After ext4 formatting, it reports ext4 filesystem data.
  2. Step 2: Match output to formatting

    Since /dev/sdf1 was formatted with ext4, output will mention ext4, not XFS or empty.
  3. Final Answer:

    Linux rev 1.0 ext4 filesystem data -> Option A
  4. Quick Check:

    file -s shows ext4 after ext4 format = A [OK]
Quick Trick: file -s shows filesystem type on device [OK]
Common Mistakes:
  • Expecting XFS output
  • Thinking it shows empty data
  • Confusing boot sector with filesystem

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes