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
modprobe dummyCorrect. A swap area is used for paging memory to secondary storage.
Correct. A swap area is used for paging memory to secondary storage.
insmod -r dummyIncorrect. The ESP stores UEFI boot files.
Incorrect. The ESP stores UEFI boot files.
modprobe -r dummyIncorrect. /boot stores kernel and initramfs files.
Incorrect. /boot stores kernel and initramfs files.
lsmod -r dummyIncorrect. 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.
modprobe --help | grep -E -- '--remove|-r'Expected result
-rまたは--removeの説明Key points
- Swap stores memory pages
- It is not a normal mounted filesystem
- It is slower than RAM
Notes
- Environment: kmod modprobe / ヘルプ表示のみ
- 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.