mkswap Flashcards
1
Q
mkswap
A
mkswap sets up a Linux swap area on a device or in a file.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/387/077/a_image_thumb.png?1591460649)
2
Q
mkswap
- c
- f
- L
A
- c, –check, Check the device for bad blocks.
- f, –force, This allows the creation of a swap area larger then the partition it resides on.
- L, –label label, Specify a label for the device, to allow swapon by label.
3
Q
mkswap
- p
- U
A
- p, –pagesize size, Specify the page size(bytes) to use.
- U, –uuid UUID, Specify the UUID to use. The default generates one.