]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Partitions could be meaningful on single-drive RAID0
authorKrzysztof Wojcik <krzysztof.wojcik@intel.com>
Fri, 25 Feb 2011 06:30:51 +0000 (07:30 +0100)
committerNeilBrown <neilb@suse.de>
Sun, 27 Feb 2011 06:13:10 +0000 (17:13 +1100)
commit0ac3f649307280651f5f190101fa77ac61d5e4ea
treea6f9dbcbee1d1da172fe4525771275fd9a97cf7b
parent1a2487c2cbb3a575ca26c4350d15dd9761fa02c1
Partitions could be meaningful on single-drive RAID0

If we create a single-drive RAID0 array on partitioned drive,
we do not lose information about disk structure after operation
(partitions are visible on created array)
Warning message:

mdadm: partition table exists on /dev/sdX but will be lost or
       meaningless after creating array"

is not necessary during creation single-drive RAID0 array.
This patch removes the message.

Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Create.c