Hello community,

here is the log from the commit of package parti for openSUSE:Factory checked 
in at 2016-10-18 10:42:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parti (Old)
 and      /work/SRC/openSUSE:Factory/.parti.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parti"

Changes:
--------
--- /work/SRC/openSUSE:Factory/parti/parti.changes      2015-10-20 
00:08:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2016-10-18 
10:42:55.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Oct 14 14:24:26 CEST 2016 - snw...@suse.com
+
+- show decoded gpt attribute bits
+- 1.13
+
+-------------------------------------------------------------------
+Fri Oct 14 12:19:13 UTC 2016 - snw...@suse.com
+
+- added some GPT GUIDs of linux partitions
+- 1.12
+
+-------------------------------------------------------------------

Old:
----
  parti-1.11.tar.xz

New:
----
  parti-1.13.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ parti.spec ++++++
--- /var/tmp/diff_new_pack.A7mgF7/_old  2016-10-18 10:42:56.000000000 +0200
+++ /var/tmp/diff_new_pack.A7mgF7/_new  2016-10-18 10:42:57.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package parti
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013-2015 Steffen Winterfeldt
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,16 +18,16 @@
 
 
 Name:           parti
-Version:        1.11
+Version:        1.13
 Release:        0
 Summary:        Show partition table information
 License:        GPL-3.0
 Group:          Hardware/Other
 Url:            https://github.com/wfeldt/parti
 Source:         %{name}-%{version}.tar.xz
+BuildRequires:  xz
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(uuid)
-BuildRequires:  xz
 Requires:       genisoimage
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 

++++++ parti-1.11.tar.xz -> parti-1.13.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.11/VERSION new/parti-1.13/VERSION
--- old/parti-1.11/VERSION      2015-10-12 14:28:23.000000000 +0200
+++ new/parti-1.13/VERSION      2016-10-14 14:21:31.000000000 +0200
@@ -1 +1 @@
-1.11
+1.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.11/changelog new/parti-1.13/changelog
--- old/parti-1.11/changelog    2015-10-12 14:28:23.000000000 +0200
+++ new/parti-1.13/changelog    2016-10-14 14:21:31.000000000 +0200
@@ -1,3 +1,9 @@
+2015-10-12:    1.13
+       - show decoded gpt attribute bits
+
+2016-10-14:    1.12
+       - added some GPT GUIDs of linux partitions
+
 2015-09-28:    1.11
        - recognize prep partition type
        - also show file system uuid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.11/parti.c new/parti-1.13/parti.c
--- old/parti-1.11/parti.c      2015-10-12 14:28:23.000000000 +0200
+++ new/parti-1.13/parti.c      2016-10-14 14:21:31.000000000 +0200
@@ -783,6 +783,7 @@
   uint16_t *n;
   uint32_t orig_crc;
   uint64_t next_table = 0;
+  uint64_t attr;
 
   if(!addr) return next_table;
 
@@ -858,9 +859,10 @@
 
   for(i = 0, p = part; i < le32toh(gpt->partition_entries); i++, p++) {
     if(!memcmp(p, part0, sizeof *part0)) continue;
+    attr = le64toh(p->attributes);
     printf("  %-3d%c %llu - %llu (size %lld)\n",
       i + 1,
-      (p->attributes & 4) ? '*' : ' ',
+      (attr & 4) ? '*' : ' ',
       (unsigned long long) le64toh(p->first_lba),
       (unsigned long long) le64toh(p->last_lba),
       (long long) (le64toh(p->last_lba) - le64toh(p->first_lba) + 1)
@@ -868,7 +870,15 @@
     printf("       type %s", efi_guid_decode(p->type_guid));
     char *s = efi_partition_type(efi_guid_decode(p->type_guid));
     if(s) printf(" (%s)", s);
-    printf(", attributes 0x%llx\n", (unsigned long long) 
le64toh(p->attributes));
+    printf(", attributes 0x%llx", (unsigned long long) attr);
+    if((attr & 7)) {
+      char *pref = " (";
+      if((attr & 1)) { printf("%ssystem", pref), pref = ", "; }
+      if((attr & 2)) { printf("%shidden", pref), pref = ", "; }
+      if((attr & 4)) { printf("%sboot", pref), pref = ", "; }
+      printf(")");
+    }
+    printf("\n");
     printf("       guid %s\n", efi_guid_decode(p->partition_guid));
 
     name_len = (le32toh(gpt->partition_entry_size) - 56) / 2;
@@ -935,6 +945,10 @@
   } types[] = {
     { "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", "efi system" },
     { "0fc63daf-8483-4772-8e79-3d69d8477de4", "linux data" },
+    { "e6d6d379-f507-44c2-a23c-238f2a3df928", "linux lvm" },
+    { "a19d880f-05fc-4d3b-a006-743f0f84911e", "linux raid" },
+    { "933ac7e1-2eb4-4f13-b844-0e14e2aef915", "linux home" },
+    { "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f", "linux swap" },
     { "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7", "windows data" },
     { "48465300-0000-11aa-aa11-00306543ecac", "hfs+" },
     { "21686148-6449-6e6f-744e-656564454649", "bios boot" },
@@ -975,9 +989,11 @@
     { 0x1b, "fat32 hidden" },
     { 0x1c, "fat32 lba hidden" },
     { 0x1e, "fat16 lba hidden" },
+    { 0x41, "prep" },
     { 0x82, "swap" },
     { 0x83, "linux" },
     { 0x8e, "lvm" },
+    { 0x96, "chrp iso9660" },
     { 0xde, "dell utility" },
     { 0xee, "gpt" },
     { 0xef, "efi" },


Reply via email to