Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
util-linux-systemd
util-linux-sfdisk-show-pt-geometry.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-sfdisk-show-pt-geometry.patch of Package util-linux-systemd
To: util-linux@vger.kernel.org From: Stanislav Brabec <sbrabec@suse.cz> Subject: [PATCH] sfdisk: Add --show-pt-geometry compatibility code Date: Thu, 4 Aug 2016 20:15:57 +0200 --show-pt-geometry existed since cf3f26bf (2006), and it is used by third party tools. To prevent failure of these tools, add a minimal compatibility code. Signed-off-by: Stanislav Brabec <sbrabec@suse.cz> --- util-linux-2.28/disk-utils/sfdisk.c 2016-03-16 10:39:35.648207694 +0100 +++ util-linux-2.28/disk-utils/sfdisk.c 2016-08-04 20:09:41.039826680 +0200 @@ -1836,6 +1836,7 @@ { "reorder", no_argument, NULL, 'r' }, { "show-size", no_argument, NULL, 's' }, { "show-geometry", no_argument, NULL, 'g' }, + { "show-pt-geometry", no_argument, NULL, 'G' }, { "quiet", no_argument, NULL, 'q' }, { "verify", no_argument, NULL, 'V' }, { "version", no_argument, NULL, 'v' }, @@ -1861,7 +1862,7 @@ textdomain(PACKAGE); atexit(close_stdout); - while ((c = getopt_long(argc, argv, "aAbcdfFghJlLo:O:nN:qrsTu:vVX:Y:w:", + while ((c = getopt_long(argc, argv, "aAbcdfFgGhJlLo:O:nN:qrsTu:vVX:Y:w:", longopts, &longidx)) != -1) { switch(c) { case 'A': @@ -1896,6 +1897,8 @@ case 'f': sf->force = 1; break; + case 'G': + warnx(_("--show-pt-geometry is no more implemented. Using --show-geometry.")); case 'g': sf->act = ACT_SHOW_GEOM; break;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor