Distribute an infrequently updated installation image physically to several devices with optical drives.
Removability and storage matter more than rewrite performance.
Which medium is a representative choice?
Optical media such as CD, DVD, or Blu-ray can be removed, stored, and used to distribute installation images. Capacity and rewrite support depend on the format.
Detailed explanation
yumdownloader --destdir=/tmp/rpms httpdIncorrect. A RAM disk is volatile and cannot serve as a physical distribution medium.
Incorrect. A RAM disk is volatile and cannot serve as a physical distribution medium.
yumdownloader --resolve --destdir=/tmp/rpms httpdCorrect. Optical discs are removable media for image distribution and storage.
Correct. Optical discs are removable media for image distribution and storage.
yum install --downloadonly /tmp/rpms httpdIncorrect. An internal HDD is not the representative removable read-only distribution medium.
Incorrect. An internal HDD is not the representative removable read-only distribution medium.
yum deplist --destdir=/tmp/rpms httpdIncorrect. An internal SSD is fast local storage, not the assumed removable medium.
Incorrect. An internal SSD is fast local storage, not the assumed removable medium.
Try it yourself
An example you can run in a temporary verification environment.
yumdownloader --help | grep -E -- '--resolve|--destdir'Expected result
--resolveと--destdirの説明Key points
- Optical storage is removable
- Suitable for distribution and storage
- Formats differ in capacity and rewrite support
Notes
- Environment: yum-utilsのyumdownloader / ヘルプ表示のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.