Provide disk space where the kernel can temporarily move memory pages.
This is not a filesystem intended for ordinary files.
Which item is appropriate?
Swap is an auxiliary area for evicted memory pages and is not normally mounted as a regular filesystem. Hibernation adds sizing and resume requirements.
Detailed explanation
Correct. A swap area is used for paging memory to secondary storage.
Correct. A swap area is used for paging memory to secondary storage.
Incorrect. The ESP stores UEFI boot files.
Incorrect. The ESP stores UEFI boot files.
Incorrect. /boot stores kernel and initramfs files.
Incorrect. /boot stores kernel and initramfs files.
Incorrect. An LVM snapshot represents a point-in-time LV state.
Incorrect. An LVM snapshot represents a point-in-time LV state.
Try it yourself
An example you can run in a temporary verification environment.
swapon --show --output=NAME,TYPE,SIZE,USED,PRIOExpected result
有効なswapの一覧。未構成なら見出しのみまたは空Key points
- Swap stores memory pages
- It is not a normal mounted filesystem
- It is slower than RAM
Notes
- Environment: util-linux swapon / 読み取り確認
- 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.