Skip to contentSkip to conversation

fdisk and the LVM partition.

linux-lvm Tom Dawes-Gamble 5 participants 5 messages Jan 19, 2001 – Jan 24, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Is anyone actively pursuing getting the LVM partition ID
"Registered"?

I got a little tee-d off with the LVM partition showing
'Unknown' so I fixed my fdisk with this patch to i386_sys_types.c

*** i386_sys_types.c Fri Jan 19 09:30:07 2001
--- i386_sys_types.c.new Fri Jan 19 09:29:52 2001
***************
*** 58,63 ****
--- 58,64 ----

        {0x85, N_("Linux extended")},
        {0x86, N_("NTFS volume set")},
        {0x87, N_("NTFS volume set")},
+       {0x8e, N_("LVM Physical volume")}, /* LVM http://www.sistina.com/lvm/ */
        {0x93, N_("Amoeba")},
        {0x94, N_("Amoeba BBT")},       /* (bad block table) */
        {0xa0, N_("IBM Thinkpad hibernation")},     



	So now my fdisk knows about LVM partitions.

	While checking that fdisk still worked correctly I was reminded

the we used to use Partition type 'fe' but I guess that got stolen by LANstep.

I changed the type of my 'fe' to '8e' and rebooted no problems.
Though I guess I can't go back to my old and I mean "really" old kernel. :-)

Regards,
Tom.

Signature · 4 lines
char  *r,*e,*w="%.9s%.7s%.7s\n";extern int printf(const char*,...);int main(){
int l=*w,a,b,th=*(w-~(l/=l))-*(w+l);b=*w+~th--;a=b-th;//Aviation Briefing Ltd.
r=e="  DISPLAY'tmdg@avbr';,,;'ief.com'*>"+b;l+=~b,th-=printf(w,e-a,th+e,r);
r=e="  DISPLAY'http://www.avbrief.com/' *>"-~b,exit(~l-printf(w,e+~a,th+e,r));}
#1 lore raw

I registered 0x8E a long time ago.
Obviously nobody (including me ;-) took care of extending fdisk. Could you go for it, please?

Quoted 44 lines · Tom Dawes-Gamble

Hi,

Is anyone actively pursuing getting the LVM partition ID
"Registered"?

I got a little tee-d off with the LVM partition showing
'Unknown' so I fixed my fdisk with this patch to i386_sys_types.c

*** i386_sys_types.c Fri Jan 19 09:30:07 2001
--- i386_sys_types.c.new Fri Jan 19 09:29:52 2001
***************
*** 58,63 ****
--- 58,64 ----

        {0x85, N_("Linux extended")},
        {0x86, N_("NTFS volume set")},
        {0x87, N_("NTFS volume set")},
+       {0x8e, N_("LVM Physical volume")}, /* LVM http://www.sistina.com/lvm/ */
        {0x93, N_("Amoeba")},
        {0x94, N_("Amoeba BBT")},       /* (bad block table) */
        {0xa0, N_("IBM Thinkpad hibernation")},     



	So now my fdisk knows about LVM partitions.

	While checking that fdisk still worked correctly I was reminded

the we used to use Partition type 'fe' but I guess that got stolen by LANstep.

I changed the type of my 'fe' to '8e' and rebooted no problems.
Though I guess I can't go back to my old and I mean "really" old kernel. :-)

Regards,
Tom.

Signature · 8 lines
char  *r,*e,*w="%.9s%.7s%.7s\n";extern int printf(const char*,...);int main(){
int l=*w,a,b,th=*(w-~(l/=l))-*(w+l);b=*w+~th--;a=b-th;//Aviation Briefing Ltd.
r=e="  DISPLAY'tmdg@avbr';,,;'ief.com'*>"+b;l+=~b,th-=printf(w,e-a,th+e,r);
r=e="  DISPLAY'http://www.avbrief.com/' *>"-~b,exit(~l-printf(w,e+~a,th+e,r));}
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw

fdisk v2.10m has partiton type 0x8e but fdisk v2.10f doesn't so I am not sure when it was implemented.

Quoted 4 lines · Heinz J. Mauelshagen

I registered 0x8E a long time ago.
Obviously nobody (including me ;-) took care of extending fdisk. Could you go for it, please?

#3 lore raw
In reply to Heinz J. Mauelshagen

I've been playing with LVM recently and I'm pretty sure that my RH 7.0 fdisk sees the partitions as Linux LVM. Just checked and , in fact, it does.

Brett G. Person
415-358-2656
[email protected]

Penguin Computing - The World's Most Reliable Linux Systems

Quoted 5 lines · Heinz J. Mauelshagen

I registered 0x8E a long time ago.
Obviously nobody (including me ;-) took care of extending fdisk. Could you go for it, please?

#4 lore raw
In reply to Tom Dawes-Gamble

I'm not sure but I think that Mandrake 7.2 reconize 0x8E partitions as Linux LVM

Quoted 6 lines · Tom Dawes-Gamble

Hi,

Is anyone actively pursuing getting the LVM partition ID
"Registered"?