Summary: | RFE: swap: support calling 'mkswap' on uninitialized swap units | ||
---|---|---|---|
Product: | systemd | Reporter: | Michał Górny <mgorny> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | enhancement | ||
Priority: | medium | CC: | radek |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Michał Górny
2013-07-28 08:49:50 UTC
If we do this, we should make sure to first check that the swap partition does not contain a valid filesystem. This stuff could probably also be used for the encrypted swap stuff in our crypttab generator. This is really dangerous business... agreed, this could really destroy (potentially important) data. We nowadays have this in place. Simply add "x-systemd.makefs" to your fstab mount options (or if you use a .swap unit directly pull in and order it after systemd-makefs@$DEVICE.service). Closing hence. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.