OSDN Git Service

mac: hook up the partition_check function for this partition table type
authorJim Meyering <meyering@redhat.com>
Thu, 3 Dec 2009 09:58:31 +0000 (10:58 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Dec 2009 09:58:31 +0000 (10:58 +0100)
commit2b7ed13adab1fff6fc4e945b5dc9f96ace44c99f
tree5e48cb8a9cd6a19d3695150d62402d3877ada089
parent69b68819c3c4a183a0f44046facdb989abd850ed
mac: hook up the partition_check function for this partition table type

* libparted/labels/pt-tools.c (ptt_partition_max_start_len): Define
for MAC partition tables.  They too have 32-bit-limited partition
starting sector number and partition length (in sectors).
* libparted/labels/mac.c (mac_partition_check): Use
ptt_partition_max_start_len.
libparted/labels/mac.c
libparted/labels/pt-tools.c