On Fri, Mar 19, 2010 at 15:30, Phillip Susi <psusi@xxxxxxxxxx> wrote: > On 3/19/2010 6:25 AM, Kay Sievers wrote: >> The in-kernel parser is just too dumb to recognize all sorts of common >> metadata on the device which invalidate any possible partition table. >> Like the kernel used to happily announce partition of a raid member, >> which do not even exist on the device. > > Indeed. Currently Ubuntu seems to have dmraid remove the partitions the > kernel detected on a raid member disk after the fact. It seems that the > right thing to do would be to not detect them in the first place. > >> Regardless of all that, the default in-kernel partition table >> handling, and the partition table parser code will not be replaced by >> userspace. But it should be possible to delegate all that to >> userspace, on systems which can handle that. This is not reliable >> possible today. > > Why not? Because the kernel might scan again for devices with removable media, or some tool may request a kernel partition scan. We need a global default for new devices, and a per-device setting to control the partition scanning behavior. Kay -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html