Re: [PATCH] Ignore partition table on device

2007-06-03 Thread Robert Hancock
Andries Brouwer wrote: I agree that the current behaviour of touching all devices seen at boot time is rather undesirable. It adds twenty seconds to the boot time of my machine, where Linux tries to read nonexisting media in the on-board usb storage devices, starting error-recovery when that

Re: [PATCH] Ignore partition table on device

2007-06-03 Thread Robert Hancock
Andries Brouwer wrote: I agree that the current behaviour of touching all devices seen at boot time is rather undesirable. It adds twenty seconds to the boot time of my machine, where Linux tries to read nonexisting media in the on-board usb storage devices, starting error-recovery when that

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: > "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > >> Partition tables aren't just read at bootup. We also adjust partition >> tables at runtime. Since this is dynamic, ignoring partition tables >> should be, too. > > So this is something that should be done with a

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Andries Brouwer
On Sat, Jun 02, 2007 at 08:55:13PM +0200, Jonathan Schleifer wrote: > This patch adds a new kernel parameter (ignore_partitions=device) to > the kernel. It is useful when using a fake RAID with dmraid so that > Linux won't complain about attemps to access the drive beyond its > boundaries when

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
"H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > Partition tables aren't just read at bootup. We also adjust partition > tables at runtime. Since this is dynamic, ignoring partition tables > should be, too. So this is something that should be done with a sysctl? Anyway, it should also be possible

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: > "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > >> This seems broken. If nothing else, there should be ways to enable or >> disable this at runtime. > > What exactly do you consider broken? > I don't really see a way to change that at runtime since hard disk >

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
"H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > This seems broken. If nothing else, there should be ways to enable or > disable this at runtime. What exactly do you consider broken? I don't really see a way to change that at runtime since hard disk partition tables are read at bootup. Or did you

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: > Hello. > > This patch adds a new kernel parameter (ignore_partitions=device) to > the kernel. It is useful when using a fake RAID with dmraid so that > Linux won't complain about attemps to access the drive beyond its > boundaries when udev and/or hald are started. >

[PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
Hello. This patch adds a new kernel parameter (ignore_partitions=device) to the kernel. It is useful when using a fake RAID with dmraid so that Linux won't complain about attemps to access the drive beyond its boundaries when udev and/or hald are started. ---

[PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
Hello. This patch adds a new kernel parameter (ignore_partitions=device) to the kernel. It is useful when using a fake RAID with dmraid so that Linux won't complain about attemps to access the drive beyond its boundaries when udev and/or hald are started. ---

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: Hello. This patch adds a new kernel parameter (ignore_partitions=device) to the kernel. It is useful when using a fake RAID with dmraid so that Linux won't complain about attemps to access the drive beyond its boundaries when udev and/or hald are started. This

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
H. Peter Anvin [EMAIL PROTECTED] wrote: This seems broken. If nothing else, there should be ways to enable or disable this at runtime. What exactly do you consider broken? I don't really see a way to change that at runtime since hard disk partition tables are read at bootup. Or did you mean

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: H. Peter Anvin [EMAIL PROTECTED] wrote: This seems broken. If nothing else, there should be ways to enable or disable this at runtime. What exactly do you consider broken? I don't really see a way to change that at runtime since hard disk partition tables are

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Jonathan Schleifer
H. Peter Anvin [EMAIL PROTECTED] wrote: Partition tables aren't just read at bootup. We also adjust partition tables at runtime. Since this is dynamic, ignoring partition tables should be, too. So this is something that should be done with a sysctl? Anyway, it should also be possible to

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread Andries Brouwer
On Sat, Jun 02, 2007 at 08:55:13PM +0200, Jonathan Schleifer wrote: This patch adds a new kernel parameter (ignore_partitions=device) to the kernel. It is useful when using a fake RAID with dmraid so that Linux won't complain about attemps to access the drive beyond its boundaries when udev

Re: [PATCH] Ignore partition table on device

2007-06-02 Thread H. Peter Anvin
Jonathan Schleifer wrote: H. Peter Anvin [EMAIL PROTECTED] wrote: Partition tables aren't just read at bootup. We also adjust partition tables at runtime. Since this is dynamic, ignoring partition tables should be, too. So this is something that should be done with a sysctl? Anyway, it