GPT fdisk version 1.0.9

This commit is contained in:
Rod Smith
2022-04-14 20:01:30 -04:00
parent 075f3fe2a0
commit 1d46f3723b
9 changed files with 18 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
# Makefile for GPT fdisk
# Copyright (c) 2022 by Rod Smith
# This program is licensed under the terms of the GNU GPL, version 2,
# or (at your option) any later version.
# You should have received a copy of the GNU General Public License
@@ -63,8 +64,8 @@ endif
$(info Build target is $(TARGET))
# Default/Linux settings....
#CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
STRIP?=strip
#CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64
LDFLAGS+=
LDLIBS+=-luuid #-licuio -licuuc

4
NEWS
View File

@@ -1,5 +1,5 @@
1.0.9 (?/?/2022):
-----------------
1.0.9 (4/14/2022):
------------------
- Removed stray debugging code that caused "partNum is {x}" to be printed
when changing a partition's name with sgdisk (-c/--change-name).

View File

@@ -1,6 +1,6 @@
.\" Copyright 2011-2021 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" Copyright 2011-2022 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" May be distributed under the GNU General Public License
.TH "CGDISK" "8" "1.0.8" "Roderick W. Smith" "GPT fdisk Manual"
.TH "CGDISK" "8" "1.0.9" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
cgdisk \- Curses-based GUID partition table (GPT) manipulator
.SH "SYNOPSIS"

View File

@@ -1,12 +1,12 @@
Summary: GPT partitioning and MBR repair software
Name: gptfdisk
Version: 1.0.8
Version: 1.0.9
Release: 1%{?dist}
License: GPLv2
URL: http://www.rodsbooks.com/gdisk
Group: Applications/System
Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.8.tar.gz
Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.9.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
@@ -81,5 +81,5 @@ provides a few additional partition manipulation features.
%changelog
* Wed Jun 9 2021 R Smith <rodsmith@rodsbooks.com> - 1.0.8
- Created spec file for 1.0.8 release
* Thu Apr 14 2022 R Smith <rodsmith@rodsbooks.com> - 1.0.9
- Created spec file for 1.0.9 release

View File

@@ -1,6 +1,6 @@
.\" Copyright 2011-2021 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" Copyright 2011-2022 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" May be distributed under the GNU General Public License
.TH "FIXPARTS" "8" "1.0.8" "Roderick W. Smith" "FixParts Manual"
.TH "FIXPARTS" "8" "1.0.9" "Roderick W. Smith" "FixParts Manual"
.SH "NAME"
fixparts \- MBR partition table repair utility
.SH "SYNOPSIS"

View File

@@ -1,6 +1,6 @@
.\" Copyright 2011-2021 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" Copyright 2011-2022 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" May be distributed under the GNU General Public License
.TH "GDISK" "8" "1.0.8" "Roderick W. Smith" "GPT fdisk Manual"
.TH "GDISK" "8" "1.0.9" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
gdisk \- Interactive GUID partition table (GPT) manipulator
.SH "SYNOPSIS"

View File

@@ -358,7 +358,7 @@ void PartType::AddAllTypes(void) {
AddType(0xef01, "024DEE41-33E7-11D3-9D69-0008C781F39F", "MBR partition scheme"); // Used to nest MBR in GPT
AddType(0xef02, "21686148-6449-6E6F-744E-656564454649", "BIOS boot partition"); // Used by GRUB
// Fuscia OS code; see https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/system/public/zircon/hw/gpt.h
// Fuscia OS codes; see https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/system/public/zircon/hw/gpt.h
AddType(0xf100, "FE8A2634-5E2E-46BA-99E3-3A192091A350", "Fuchsia boot loader (slot A/B/R)");
AddType(0xf101, "D9FD4535-106C-4CEC-8D37-DFC020CA87CB", "Fuchsia durable mutable encrypted system data");
AddType(0xf102, "A409E16B-78AA-4ACC-995C-302352621A41", "Fuchsia durable mutable boot loader");

View File

@@ -1,6 +1,6 @@
.\" Copyright 2011-2021 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" Copyright 2011-2022 Roderick W. Smith (rodsmith@rodsbooks.com)
.\" May be distributed under the GNU General Public License
.TH "SGDISK" "8" "1.0.8" "Roderick W. Smith" "GPT fdisk Manual"
.TH "SGDISK" "8" "1.0.9" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
sgdisk \- Command\-line GUID partition table (GPT) manipulator for Linux and Unix
.SH "SYNOPSIS"

View File

@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string>
#define GPTFDISK_VERSION "1.0.8.3"
#define GPTFDISK_VERSION "1.0.9"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64