setup-disk and sfdisk throw warning under alpine 3.0.1
setup-disk -m data /dev/sda /dev/sdb throws the following warnings that did not used to appear under Alpine 2.7.9. They appear to not affect functionality:
Initializing partitions on /dev/sda…
sfdisk: Checking to no-one is using this disk right now …
sfdisk: OK
sfdisk: Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk
sfdisk: if you created or changed a DOS partition, /dev/foo7, say, then
to zero the first 512 bytes: dd /if=/dev/zero of=/dev/foo7 bs=512
count=
(see fdisk(8).)
(from redmine: issue id 3099, created on 2014-06-26, closed on 2014-07-30)
- Changesets:
- Revision 80f5ac62 by Natanael Copa on 2014-07-17T15:45:36Z:
main/util-linux: suppress warning with --quiet
ref #3099
- Revision 37b3d87f by Natanael Copa on 2014-07-25T11:06:29Z:
main/util-linux: suppress warning with --quiet
fixes #3099
(cherry picked from commit 80f5ac62c11a29201922a51d941e60b4dfa104c2)