CompTIA A+ Core 2 (220-1202)Operating SystemsHard

A company is deploying new Linux-based kiosks that need to boot quickly and consistently. The kiosks will run a single, embedded application and have minimal storage. The technician is considering using a file system that is highly optimized for read-only operations and embedded systems, while also providing good compression. Which file system best fits these requirements?

  1. ASquashFS
  2. Bext4
  3. CBtrfs
  4. DXFS
Show answer & explanation

Correct answer: A. SquashFS

SquashFS is a compressed read-only file system for Linux. It is specifically designed for embedded systems and live CDs, offering excellent compression and fast read access, which aligns perfectly with the requirements for kiosks that need to boot quickly from a read-only state and have minimal storage.

Why the other options are wrong

  • B. ext4 is a general-purpose read-write file system, not specifically optimized for read-only embedded systems or high compression.
  • C. Btrfs is an advanced copy-on-write (CoW) file system with features like snapshots and pooling, but it's a general-purpose read-write file system and not primarily designed for read-only embedded use with high compression as its main benefit.
  • D. XFS is a high-performance journaling file system often used for large files and storage, but it's not read-only or primarily focused on compression for embedded systems.

SquashFS

A compressed read-only file system for Linux, designed for embedded systems, live CDs, and scenarios where storage space is at a premium and data integrity for read-only access is critical.

  • Highly optimized for compression, often achieving significant space savings.
  • Read-only by design, enhancing data integrity and security for fixed images.
  • Efficient for fast read operations, ideal for quick boot times from embedded devices.
  • Often used in firmware, Android recovery, and live Linux distributions.

Memory trick: SquashFS: 'SQUASH' down the size, 'SURE' for read-only kiosks!

More Operating Systems questions