Boyd Lynn Gerber wrote:
On Tue, 31 Oct 2006, Carl-Daniel Hailfinger wrote:
Felix Miata wrote:
On 06/10/31 14:43 (GMT+0100) Christoph Thiel apparently typed:
On Tue, Oct 31, 2006 at 07:23:11AM -0500, Felix Miata wrote:
Check out this too: https://bugzilla.novell.com/show_bug.cgi?id=214992 We'll be using classical ide drivers for PATA devices in Beta2 -- so this bug is workarounded. The bigger problem is as described in https://bugzilla.novell.com/show_bug.cgi?id=214992#c3 which says it's a kernel problem that I have been able to confirm in http://bugzilla.kernel.org/. I had a patch to use up to 256 partitions per disk independent of the type of disk. I can dig it out if anyone wants to test.
Could I get your patch? I think it would be good if this were readily available to all.
Ahem... I forgot that you need a recompiled kernel for it to work.
Or at least arcane and forgotten commands like partx. Personally, I
like the partx way better. With the attached patch to util-linux
you can use partx.
Make sure no partition on sda is in use (swap/suspend/mounted), then
# partx -d /dev/sda
# kpartx -a /dev/sda
Now /dev/sda[1-15] have vanished and /dev/disk/by-name/sda[1-255]
appear instead. Mounting these devices works normally.
I also added this to
https://bugzilla.novell.com/show_bug.cgi?id=214992#c12
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
--- util-linux-2.12r/Makefile 2004-12-23 01:43:09.000000000 +0100
+++ util-linux-2.12r/Makefile 2006-11-02 16:44:52.000000000 +0100
@@ -18,7 +18,8 @@
fdisk \
hwclock \
sys-utils \
- text-utils
+ text-utils \
+ partx
.PHONEY: all install clean now
all: defines.h
@@ -43,7 +44,7 @@
clean:
-rm -f *.o *~ omake conftest conftest.c core
- @for subdir in $(SUBDIRS) partx; do \
+ @for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
--- util-linux-2.12r/partx/partx.c~ 2004-08-23 22:13:27.000000000 +0200
+++ util-linux-2.12r/partx/partx.c 2006-11-02 17:05:55.000000000 +0100
@@ -38,6 +38,8 @@
#include