Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159838 - sys-fs/evms - incorrect numbering of partitions on ppc
Summary: sys-fs/evms - incorrect numbering of partitions on ppc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372423
  Show dependency tree
 
Reported: 2007-01-03 05:23 UTC by Florian Friesdorf
Modified: 2011-07-03 09:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Friesdorf 2007-01-03 05:23:45 UTC
When using the mac segment manager, evms' numbering of partitions differs from the partition map and kernel numbering. The kernel numbering fits the partion map (see next two listings). EVMS is not taking the partition map (hda1) and the free space (hda2) into account. Therefore the on-disk partition hda7 is numbered hda5 in evms. hda5 is my mounted root partition and that prevents evms from using its hda5 (the real hda7) as it thinks that it is mounted.

partition map:
# mac-fdisk -l /dev/hda
/dev/hda
        #                    type name                  length   base      ( size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/hda2              Apple_Free Extra                 262144 @ 64        (128.0M)  Free space
/dev/hda3               Apple_HFS Apple_HFS_Untitled_1  29034668 @ 262208    ( 13.8G)  HFS
/dev/hda4         Apple_Bootstrap bootstrap               1600 @ 78150808  (800.0k)  NewWorld bootblock
/dev/hda5         Apple_UNIX_SVR2 linux1              73400320 @ 78152408  ( 35.0G)  Linux native
/dev/hda6         Apple_UNIX_SVR2 swap                 4748760 @ 151552728 (  2.3G)  Linux swap
/dev/hda7         Apple_UNIX_SVR2 linux2              48853932 @ 29296876  ( 23.3G)  Linux native


kernel:
# ls -l /dev/hda*
brw-rw---- 1 root disk 3, 0 2007-01-01 17:43 /dev/hda
brw-rw---- 1 root disk 3, 1 2007-01-01 17:43 /dev/hda1
brw-rw---- 1 root disk 3, 2 2007-01-01 17:43 /dev/hda2
brw-rw---- 1 root disk 3, 3 2007-01-01 17:43 /dev/hda3
brw-rw---- 1 root disk 3, 4 2007-01-01 17:43 /dev/hda4
brw-rw---- 1 root disk 3, 5 2007-01-01 17:43 /dev/hda5
brw-rw---- 1 root disk 3, 6 2007-01-01 17:43 /dev/hda6
brw-rw---- 1 root disk 3, 7 2007-01-01 17:43 /dev/hda7

evms:
# ls -l /dev/evms/
total 0
drwxr-xr-x 2 root root     60 2007-01-03 14:16 dm
brw-r----- 1 root root 253, 0 2007-01-01 17:43 hda1
brw-r----- 1 root root 253, 1 2007-01-01 17:43 hda2
brw-r----- 1 root root 253, 2 2007-01-01 17:43 hda3
brw-r----- 1 root root 253, 4 2007-01-02 20:08 hda4
brw-r----- 1 root root 253, 3 2007-01-02 20:10 hda5
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-07-03 09:20:15 UTC
sys-fs/evms has been removed from portage tree