Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
util-linux
> util-linux-2.12r-fdisk_remove_bogus_warnings.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File util-linux-2.12r-fdisk_remove_bogus_warnings.patch of Package util-linux
Index: util-linux-ng-2.12r+2.13pre7/fdisk/fdisk.c =================================================================== --- util-linux-ng-2.12r+2.13pre7.orig/fdisk/fdisk.c +++ util-linux-ng-2.12r+2.13pre7/fdisk/fdisk.c @@ -1498,6 +1498,7 @@ static void check_consistency(struct par /* compute logical ending (c, h, s) */ long2chs(get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, &les); +#if 0 /* Same physical / logical beginning? */ if (cylinders <= 1024 && (pbc != lbc || pbh != lbh || pbs != lbs)) { printf(_("Partition %d has different physical/logical " @@ -1514,7 +1515,6 @@ static void check_consistency(struct par printf(_("logical=(%d, %d, %d)\n"),lec, leh, les); } -#if 0 /* Beginning on cylinder boundary? */ if (pbh != !pbc || pbs != 1) { printf(_("Partition %i does not start on cylinder "