Re: [PATCH] Disable partition scan
From: Hannes Reinecke
Date: Mon Sep 14 2009 - 02:33:58 EST
devzero@xxxxxx wrote:
Hello,
iirc i had a setup a while ago where i also found disabling partition scanning would be nice to have.
actually, we have a bugzilla entry for this - have a look at:
http://bugzilla.kernel.org/show_bug.cgi?id=8588
anyway, wouldn`t it be better to disable that on a per device basis or at least be able to exclude
the boot/system devices from being skipped?
Hmm. Not sure about this.
For once, you'd have to have a tool like kpartx anyway to generate the partition mappings for the
not-excluded devices. Hence it's not a big deal to use this tool _always_, ie for all devices.
But more importantly the commandline will be a killer. You would have to specify the device
to be excluded prior to driver probing. Which means you'd have to know how the driver would
enumerate the device and how the device to be excluded would be named.
But exactly this isn't guaranteed, so it'll be virtually impossible to do so.
Cheers,
Hannes
PS.: One wonders what'll happen to the patch. Maybe it'll linger forever in bugzilla as no-one
feels it important enough to have a look at it, let alone merge ...
So, if there are any users out there, please speak up to have it merged!
--
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/