[parted-devel] ms-dos & pc98 disk label
kamesh waran
sjkameshwaran at yahoo.co.in
Fri Mar 9 08:40:15 CET 2007
Hi list,
I have a scsi disk drive which has been partition by sfdisk. When I used Parted-1.8.2
to print the partitions, It gave me the below error.
"No Implementation: Partition 1 isn't aligned to cylinder boundaries"
I have gone through the code and it seems like it sequentially checks for amiga, bsd....etc and ms-dos
disk labels. When probing for ms-dos, it matches the DOS PARTITION-MAGIC. But it also matches the pc98 when it
come across the below code in ms_dos_probe. pc98_probe in turn calls the read_table and there i got the above error.
#ifdef ENABLE_PC98
/* HACK: it's impossible to tell PC98 and msdos disk labels apart.
* Someone made the signatures the same (very clever). Since
* PC98 has some idiosyncracies with it's boot-loader, it's detection
* is more reliable */
disk_type = ped_disk_type_get ("pc98");
if (disk_type && disk_type->ops->probe (dev))
return 0;
#endif /* ENABLE_PC98 */
When i commented out the above calls to pc98 probe in ms_dos_probe, it shows me the correct listing of the disk.
Is ms_dos and pc98 disk label are same ?
Can you please through some light on this.
Thanks,
Kamesh
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20070309/1e269a59/attachment.htm
More information about the parted-devel
mailing list