[parted-devel] [PATCH 0/3] Add docs, test, and fix bug...

Brian C. Lane bcl at redhat.com
Thu Sep 30 22:47:00 BST 2021


I like this. Much cleaner to extend than the flags we have been using.

I found one problem with it, when turning a flag off it would revert to
linux data no matter what the filesystem probe detected. I wrote a test
for that, added code to fix it, and updated the documentation.

If someone else could apply some eyes to this I'd appreciate it, I want
to make sure I'm not missing something subtle with the removal of all
that code :)

Thanks,

Brian

Brian C. Lane (3):
  doc: Document gpt linux-home flag
  tests: Add a test to make sure GPT GUIDs default to filesystem
  gpt: Revert to filesystem GUID when setting flag to off

 doc/C/parted.8                 |   3 +-
 doc/parted.texi                |   4 ++
 libparted/labels/gpt.c         |   2 +-
 tests/Makefile.am              |   1 +
 tests/t3210-gpt-type-change.sh | 107 +++++++++++++++++++++++++++++++++
 5 files changed, 115 insertions(+), 2 deletions(-)
 create mode 100755 tests/t3210-gpt-type-change.sh

-- 
2.31.1




More information about the parted-devel mailing list