FS#30831 - [initscripts] mkswap warning for luks swap device
Attached to Project:
Arch Linux
Opened by c (c) - Tuesday, 24 July 2012, 10:52 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 24 July 2012, 17:21 GMT
Opened by c (c) - Tuesday, 24 July 2012, 10:52 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 24 July 2012, 17:21 GMT
|
Details
Description:
What does the following warning mean? mkswap: /dev/mapper/NAME: warning: don't erase bootbits sectors on whole disk. use -f to force Manually testing mkswap -f on the luks device didn't break anything. "bootbits sectors" makes it sound risky but it doesn't seem to be. Additional info: * 2012.07.4-1 * /etc/crypttab NAME /dev/DEV /dev/urandom swap,cipher=aes-xts-plain64:sha52,size=512 Steps to reproduce: reboot |
This task depends upon
Closed by Tom Gundersen (tomegun)
Tuesday, 24 July 2012, 17:21 GMT
Reason for closing: Fixed
Additional comments about closing: in git
Tuesday, 24 July 2012, 17:21 GMT
Reason for closing: Fixed
Additional comments about closing: in git
Comment by Tom Gundersen (tomegun) -
Tuesday, 24 July 2012, 17:21 GMT
This is because mkswap has a protection against creating swap on a
whole block device. I just pushed a fix from Matthew Monaco to git
to avoid this warning. He also suggested a way to reduce the
verbosity of the tools, so we no longer get the info message about
encryption key etc.