diff options
Diffstat (limited to 'storage/formats/swap.py')
-rw-r--r-- | storage/formats/swap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/formats/swap.py b/storage/formats/swap.py index 31774dc05..392ed11ae 100644 --- a/storage/formats/swap.py +++ b/storage/formats/swap.py @@ -142,6 +142,9 @@ class SwapSpace(DeviceFormat): swap.mkswap(self.device, label=self.label) self.exists = True + def writeKS(self, f): + f.write("swap") + register_device_format(SwapSpace) |