Skip to contentSkip to conversation

Disable partition scan

PATCH [email protected] 1 participant 1 message Sep 14, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

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.

ok, you`re right

Quoted 3 lines

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!

you did that patch for a reason (customer request?) and we have another request for it in bugzilla. i think it`s useful.

maybe adding the new param to kernel-params.txt and adding some more people cc below the signed-off will raise chances for acceptance.

Quoted 21 lines
Quoted 11 lines · [email protected] 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.

Quoted 12 lines

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!

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/