[MBT] new ticket for pkg util-linux "Fdisk prints wrong partition table on non distribution kernels" (fwd)
Arek
areq w topnet.pl
Czw, 13 Gru 2001, 22:31:56 CET
On Thu, 13 Dec 2001 16:29:26 +0000 (UTC), you wrote:
>Thu, 13 Dec 2001 16:15:06 +0100 (CET), Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl> pisze:
>
>> Okazuje się że po zbudowaniu pakietu na moim builderze z opcja
>> "without crypto" fdisk zachowuje sie poprawnie.
>
>Ja mam jądro 2.4.7 bez żadnych łat, fdiska z wczoraj kompilowanego
>bez "without crypto" i fdisk na oko działa, a przynajmniej odczyt.
>Czy powinienem się niepokoić? :-)
U mnie na 7 roznych komputerach - kernele 2.2.20 i 2.4.16 ( wlasne) z
dystrybucyjnym fdiskiem jest zle.
Np. na mylexe:
[root w pld root]# fdisk -l /dev/rd/c0d0
Disk /dev/rd/c0d0: 1 heads, 71024640 sectors, 1 cylinders
Units = cylinders of 71024640 * 512 bytes
Device Boot Start End Blocks Id System
/dev/rd/c0d0p1 1 1 24066 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 64)
Partition 1 has different physical/logical endings:
phys=(2, 254, 63) logical=(0, 0, 48195)
Partition 1 does not end on cylinder boundary:
phys=(2, 254, 63) should be (2, 0, 71024640)
/dev/rd/c0d0p2 1 1 1052257+ 82 Linux swap
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(3, 0, 1) logical=(0, 0, 48196)
Partition 2 has different physical/logical endings:
phys=(133, 254, 63) logical=(0, 0, 2152710)
Partition 2 does not end on cylinder boundary:
phys=(133, 254, 63) should be (133, 0, 71024640)
/dev/rd/c0d0p3 1 1 2104515 83 Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(134, 0, 1) logical=(0, 0, 2152711)
Partition 3 has different physical/logical endings:
phys=(395, 254, 63) logical=(0, 0, 6361740)
Partition 3 does not end on cylinder boundary:
phys=(395, 254, 63) should be (395, 0, 71024640)
/dev/rd/c0d0p4 1 1 32330812+ 5 Extended
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(396, 0, 1) logical=(0, 0, 6361741)
Partition 4 has different physical/logical endings:
phys=(1023, 254, 63) logical=(0, 0, 71023365)
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 0, 71024640)
"czysty" fdisk
BUILD/util-linux-2.11m/fdisk/fdisk -l /dev/rd/c0d0
Disk /dev/rd/c0d0: 255 heads, 63 sectors, 4421 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/rd/c0d0p1 1 3 24066 83 Linux
/dev/rd/c0d0p2 4 134 1052257+ 82 Linux swap
/dev/rd/c0d0p3 135 396 2104515 83 Linux
/dev/rd/c0d0p4 397 4421 32330812+ 5 Extended
/dev/rd/c0d0p5 397 658 2104483+ 83 Linux
/dev/rd/c0d0p6 659 1181 4200966 83 Linux
Dystybucyjnym fdiskiem nie sposób zrobic wogóle parycji na mylexe !
Bez crypto jest OK.
Arek
Więcej informacji o liście dyskusyjnej pld-devel-pl