diff --git a/Makefile.mac b/Makefile.mac index af0659b..ac5e773 100644 --- a/Makefile.mac +++ b/Makefile.mac @@ -37,7 +37,7 @@ lint: #no pre-reqs lint $(SRCS) clean: #no pre-reqs - rm -f core *.o *~ gdisk sgdisk + rm -f core *.o *~ gdisk sgdisk cgdisk fixparts # what are the source dependencies depend: $(SRCS) diff --git a/NEWS b/NEWS index d2f274c..94c01f1 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,9 @@ -1.0.1 (?/??/2015): ------------------- +1.0.1 (10/18/2015): +------------------- + +- Created uninstall-fixparts and uninstall-gdisk scripts for OS X. As the + names imply, these scripts remove the files installed by the fixparts and + gdisk packages, respectively. - Fixed bug that caused -N/--largest-new option to sgdisk to fail when fed a "0" option. @@ -16,9 +20,11 @@ working unless these features are disabled. To do so, you must boot to a Recovery HD system, open a Terminal, type "csrutil disable", and reboot into the normal system. You can re-enable the security features by - repeating the process, but specify "enable" rather than "disable". If you - know of a way around this (including code changes to gdisk), please - contact me. + repeating the process, but specify "enable" rather than "disable". I've + added a message pointing users to a Web page explaining how to disable + this feature when gdisk detects that it can't write to the disk under OS + X. If you know of a way around this (including code changes to gdisk), + please contact me. - I've updated the OS X installation location from the Unix-standard /usr/sbin (and related locations for documentation) to /usr/local/bin diff --git a/cgdisk.8 b/cgdisk.8 index 5a18bcb..ac3da9b 100644 --- a/cgdisk.8 +++ b/cgdisk.8 @@ -1,6 +1,6 @@ -.\" Copyright 2011-2013 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" Copyright 2011-2015 Roderick W. Smith (rodsmith@rodsbooks.com) .\" May be distributed under the GNU General Public License -.TH "CGDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual" +.TH "CGDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual" .SH "NAME" cgdisk \- Curses-based GUID partition table (GPT) manipulator .SH "SYNOPSIS" diff --git a/current.spec b/current.spec index 42f1d80..1587732 100644 --- a/current.spec +++ b/current.spec @@ -1,12 +1,12 @@ Summary: GPT partitioning and MBR repair software Name: gptfdisk -Version: 1.0.0 +Version: 1.0.1 Release: 1%{?dist} License: GPLv2 URL: http://www.rodsbooks.com/gdisk Group: Applications/System -Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.0.tar.gz +Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.1.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description @@ -81,5 +81,5 @@ provides a few additional partition manipulation features. %changelog -* Sun Mar 2 2014 R Smith - 1.0.0 -- Created spec file for 1.0.0 release +* Sun Mar 2 2014 R Smith - 1.0.1 +- Created spec file for 1.0.1 release diff --git a/fixparts.8 b/fixparts.8 index 157bd78..9c4312f 100644 --- a/fixparts.8 +++ b/fixparts.8 @@ -1,6 +1,6 @@ -.\" Copyright 2011-2013 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" Copyright 2011-2015 Roderick W. Smith (rodsmith@rodsbooks.com) .\" May be distributed under the GNU General Public License -.TH "FIXPARTS" "8" "1.0.0" "Roderick W. Smith" "FixParts Manual" +.TH "FIXPARTS" "8" "1.0.1" "Roderick W. Smith" "FixParts Manual" .SH "NAME" fixparts \- MBR partition table repair utility .SH "SYNOPSIS" diff --git a/gdisk.8 b/gdisk.8 index b9dd330..c33ca5f 100644 --- a/gdisk.8 +++ b/gdisk.8 @@ -1,6 +1,6 @@ -.\" Copyright 2011-2013 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" Copyright 2011-2015 Roderick W. Smith (rodsmith@rodsbooks.com) .\" May be distributed under the GNU General Public License -.TH "GDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual" +.TH "GDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual" .SH "NAME" gdisk \- Interactive GUID partition table (GPT) manipulator .SH "SYNOPSIS" diff --git a/gpt.cc b/gpt.cc index 18247c5..d0a46c6 100644 --- a/gpt.cc +++ b/gpt.cc @@ -748,7 +748,12 @@ int GPTData::LoadPartitions(const string & deviceFilename) { << "'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this\n" << "program.\n"; #endif - cout << "\n"; +#if defined (__APPLE__) + cout << "You may need to deactivate System Integrity Protection to use this program. See\n" + << "https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11\n" + << "for more information.\n"; +#endif + cout << "\n"; } // if myDisk.Close(); // Close and re-open read-only in case of bugs } else allOK = 0; // if diff --git a/sgdisk.8 b/sgdisk.8 index a1d3b21..2c3fbfe 100644 --- a/sgdisk.8 +++ b/sgdisk.8 @@ -1,6 +1,6 @@ -.\" Copyright 2011-2013 Roderick W. Smith (rodsmith@rodsbooks.com) +.\" Copyright 2011-2015 Roderick W. Smith (rodsmith@rodsbooks.com) .\" May be distributed under the GNU General Public License -.TH "SGDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual" +.TH "SGDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual" .SH "NAME" sgdisk \- Command\-line GUID partition table (GPT) manipulator for Linux and Unix .SH "SYNOPSIS"