1
0
forked from pool/util-linux
util-linux/util-linux-2.24-fdisk_remove_bogus_warnings.patch
Stephan Kulow 4efd0700ac Accepting request 210834 from Base:System
- Update to util-linux-2.24
  + Release highlights (2.24)
  fdisk(8):
    * the code has been completely refactored and moved to libfdisk
      (the library does not have a stable API yet)
    * user interface has been unified for all label types and it
      supports colors
    * GPT disk UUID, partition UUID and partition name modification
      is supported now
  pylibmount:
    * this new library provides PYTHON BINDINGS for libmount;
       use --with-python[=2|3] to enable the bindings
  last(1) and lastb(1):
    * the NEW IMPLEMENTATION has been merged from sysvinit to
      util-linux and extended; now it supports command line options
      --present, --since, and --time-format
    * use --enable-deprecated-last to enable the old util-linux
      last(1) implementation
  swapon(8):
    * the option --discard= and fstab mount option discard= allow
      to explicitly specify 'pages' or 'once' discard policy. If no
      policy is selected, the default behavior is to enable both.
      See swapon.8 man page for more details.
  libblkid and blkid(8):
    * supports LOGUUID= for external logs (e.g. extN and XFS)
    * generates a pseudo PARTUUID= for MBR partitions (based on MBR
      Id, Linux kernel supports the same concept for root= command
      line option)
  agetty(8):
    * supportes new issue file \S escape code to read information

OBS-URL: https://build.opensuse.org/request/show/210834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=173
2013-12-16 06:15:12 +00:00

19 lines
601 B
Diff

--- util-linux-2.24/libfdisk/src/dos.c.orig 2013-10-21 11:22:29.810014709 +0200
+++ util-linux-2.24/libfdisk/src/dos.c 2013-11-13 23:57:27.535962925 +0100
@@ -1107,6 +1107,7 @@
/* compute logical ending (c, h, s) */
long2chs(cxt, dos_partition_get_start(p) + dos_partition_get_size(p) - 1, &lec, &leh, &les);
+#if 0
/* Same physical / logical beginning? */
if (cxt->geom.cylinders <= 1024
&& (pbc != lbc || pbh != lbh || pbs != lbs)) {
@@ -1117,6 +1118,7 @@
pbc, pbh, pbs,
lbc, lbh, lbs);
}
+#endif
/* Same physical / logical ending? */
if (cxt->geom.cylinders <= 1024