* Increase from 8G to 512G (which is the x86-64 default swap size limit).
8G was too small either way. Maybe the installer-enforced administrative
limit should just be removed entirely.
valid = 0;
}
- if ((strcasecmp(mountpoint, "swap") == 0) && (capacity > 8192)) {
- inform(a->c, _("Swap capacity is limited to 8G."));
+ /*
+ * Maybe remove this limit entirely?
+ */
+ if ((strcasecmp(mountpoint, "swap") == 0) &&
+ (capacity > 512*1024)) {
+ inform(a->c, _("Swap capacity is limited to 512G."));
valid = 0;
}
valid = 0;
}
- if ((strcasecmp(mountpoint, "swap") == 0) && (capacity > 8192)) {
- inform(a->c, _("Swap capacity is limited to 8G."));
+ /*
+ * Maybe remove this limit entirely?
+ */
+ if ((strcasecmp(mountpoint, "swap") == 0) &&
+ (capacity > 512*1024)) {
+ inform(a->c, _("Swap capacity is limited to 512G."));
valid = 0;
}