diff options
author | Roman Kyrylych <roman@archlinux.org> | 2009-08-02 21:04:48 +0300 |
---|---|---|
committer | Roman Kyrylych <roman@archlinux.org> | 2009-08-02 21:04:48 +0300 |
commit | a24ad686cd629bee0dcf5cc6e5c1f4da65ca1159 (patch) | |
tree | 0a33f03d26835594497f02d2c1e92e3e54c216f7 /network | |
parent | b05933da4de82fe515c1eee5e5a7690072b99c79 (diff) | |
download | initscripts-a24ad686cd629bee0dcf5cc6e5c1f4da65ca1159.tar.xz |
Fixed warning about bootbits with encrypted swap and util-linux-ng 2.16
Afte update to util-linux-ng the following message is shown during boot:
mkswap: /dev/mapper/swap: Warning: don't erase bootbits sectors on
whole disk. Use -f to force.
The change was introduced by this commit:
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=ff3bed806863d1c2075d0efda70b39ea6af9ecba
From man mkswap:
-f Force - go ahead even if the command is stupid. This allows the
creation of a swap area larger than the file or partition it
resides on.
Without this option mkswap will refuse to erase the first block
on a device with a partition table or on whole disk (e.g.
/dec/sda).
This change adds -f to mkswap in rc.sysinit to eliminate the warning.
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions