commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2019-07-26 12:40:57 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new.4126 (New) Package is "parti" Fri Jul 26 12:40:57 2019 rev:8 rq:718470 version:1.19 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2018-04-27 16:09:12.238551218 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new.4126/parti.changes2019-07-26 12:40:58.649891162 +0200 @@ -1,0 +2,7 @@ +Thu Jul 25 08:25:16 UTC 2019 - wfe...@opensuse.org + +- merge gh#wfeldt/parti#10 +- adjust to isoinfo changes (bsc#1097814) +- 1.19 + + Old: parti-1.18.tar.xz New: parti-1.19.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.g6Cxel/_old 2019-07-26 12:40:59.541890774 +0200 +++ /var/tmp/diff_new_pack.g6Cxel/_new 2019-07-26 12:40:59.541890774 +0200 @@ -18,7 +18,7 @@ Name: parti -Version:1.18 +Version:1.19 Release:0 Summary:Show partition table information License:GPL-3.0 ++ parti-1.18.tar.xz -> parti-1.19.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.18/VERSION new/parti-1.19/VERSION --- old/parti-1.18/VERSION 2018-04-26 16:05:19.0 +0200 +++ new/parti-1.19/VERSION 2019-07-25 10:25:16.0 +0200 @@ -1 +1 @@ -1.18 +1.19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.18/changelog new/parti-1.19/changelog --- old/parti-1.18/changelog2018-04-26 16:05:19.0 +0200 +++ new/parti-1.19/changelog2019-07-25 10:25:16.0 +0200 @@ -1,3 +1,7 @@ +2019-07-25:1.19 + - merge gh#wfeldt/parti#10 + - adjust to isoinfo changes (bsc#1097814) + 2018-04-26:1.18 - merge gh#wfeldt/parti#9 - improve doc a bit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.18/parti.c new/parti-1.19/parti.c --- old/parti-1.18/parti.c 2018-04-26 16:05:19.0 +0200 +++ new/parti-1.19/parti.c 2019-07-25 10:25:16.0 +0200 @@ -1201,11 +1201,17 @@ if((p = popen(cmd, "r"))) { while(getline(, _len, p) != -1) { - if(sscanf(line, "Directory listing of %m[^\n]", ) == 1) { + char *line_start = line; + + // isoinfo from mkisofs produces different output than the one from genisoimage + // remove the optional 1st column (bsc#1097814) + while(isspace(*line_start) || isdigit(*line_start)) line_start++; + + if(sscanf(line_start, "Directory listing of %m[^\n]", ) == 1) { free(dir); dir = s; } - else if(sscanf(line, "%*s %*s %*s %*s %u %*[^[][ %u %*u ] %m[^\n]", , , ) == 3) { + else if(sscanf(line_start, "%*s %*s %*s %*s %u %*[^[][ %u %*u ] %m[^\n]", , , ) == 3) { if(*s) { t = s + strlen(s) - 1; while(t >= s && isspace(*t)) *t-- = 0;
commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2018-04-27 16:09:05 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new (New) Package is "parti" Fri Apr 27 16:09:05 2018 rev:7 rq:601612 version:1.18 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2018-04-26 13:38:43.738546026 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2018-04-27 16:09:12.238551218 +0200 @@ -1,0 +2,9 @@ +Thu Apr 26 14:05:19 UTC 2018 - wfe...@opensuse.org + +- merge gh#wfeldt/parti#9 +- improve doc a bit +- update git2log script to latest version +- reference obs builds +- 1.18 + + Old: parti-1.17.tar.xz New: parti-1.18.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.RjlFqh/_old 2018-04-27 16:09:12.738532880 +0200 +++ /var/tmp/diff_new_pack.RjlFqh/_new 2018-04-27 16:09:12.742532733 +0200 @@ -18,7 +18,7 @@ Name: parti -Version:1.17 +Version:1.18 Release:0 Summary:Show partition table information License:GPL-3.0 ++ parti-1.17.tar.xz -> parti-1.18.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.17/README.md new/parti-1.18/README.md --- old/parti-1.17/README.md2018-04-25 15:37:55.0 +0200 +++ new/parti-1.18/README.md2018-04-26 16:05:19.0 +0200 @@ -22,14 +22,34 @@ So it can be used to verify the data your favorite partitioning tool has actually written. +## Downloads + +Get the latest version from the [openSUSE Build Service](https://software.opensuse.org/package/parti). + ## openSUSE Development -The package is automatically submitted from the `master` branch to -[system:install:head](https://build.opensuse.org/package/show/system:install:head/parti) -OBS project. From that place it is forwarded to -[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory). +To build, simply run `make`. Install with `make install`. + +Basically every new commit into the master branch of the repository will be auto-submitted +to all current SUSE products. No further action is needed except accepting the pull request. + +Submissions are managed by a SUSE internal [jenkins](https://jenkins.io) node in the InstallTools tab. + +Each time a new commit is integrated into the master branch of the repository, +a new submit request is created to the openSUSE Build Service. The devel project +is [system:install:head](https://build.opensuse.org/package/show/system:install:head/parti). + +`*.changes` and version numbers are auto-generated from git commits, you don't have to worry about this. + +The spec file is maintained in the Build Service only. If you need to change it for the `master` branch, +submit to the +[devel project](https://build.opensuse.org/package/show/system:install:head/parti) +in the build service directly. + +Development happens exclusively in the `master` branch. The branch is used for all current products. -You can find more information about this workflow in the [linuxrc-devtools +You can find more information about the changes auto-generation and the +tools used for jenkis submissions in the [linuxrc-devtools documentation](https://github.com/openSUSE/linuxrc-devtools#opensuse-development). ## Example diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.17/VERSION new/parti-1.18/VERSION --- old/parti-1.17/VERSION 2018-04-25 15:37:55.0 +0200 +++ new/parti-1.18/VERSION 2018-04-26 16:05:19.0 +0200 @@ -1 +1 @@ -1.17 +1.18 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.17/changelog new/parti-1.18/changelog --- old/parti-1.17/changelog2018-04-25 15:37:55.0 +0200 +++ new/parti-1.18/changelog2018-04-26 16:05:19.0 +0200 @@ -1,41 +1,54 @@ +2018-04-26:1.18 + - merge gh#wfeldt/parti#9 + - improve doc a bit + - update git2log script to latest version + - reference obs builds + 2018-04-25:1.17 + - merge gh#wfeldt/parti#8 - extended documentation 2018-03-06:1.16 + - merge gh#wfeldt/parti#7 - Use standard location for isoinfo binary -2017-09-08:1.15 +2017-09-11:1.15 + - merge gh#wfeldt/parti#6 - show more details about extended partition links - - verbose now also shows for every partition where it is referenced (that is -2017-03-31:1.14 - - update docs a bit - - code de-duplication - - re-arrange fat fs
commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2018-04-26 13:38:43 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new (New) Package is "parti" Thu Apr 26 13:38:43 2018 rev:6 rq:601010 version:1.17 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2018-03-07 10:37:56.775404387 +0100 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2018-04-26 13:38:43.738546026 +0200 @@ -1,0 +2,7 @@ +Wed Apr 25 13:37:55 UTC 2018 - wfe...@opensuse.org + +- merge gh#wfeldt/parti#8 +- extended documentation +- 1.17 + + Old: parti-1.16.tar.xz New: parti-1.17.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.ArtUif/_old 2018-04-26 13:38:44.306525207 +0200 +++ /var/tmp/diff_new_pack.ArtUif/_new 2018-04-26 13:38:44.310525061 +0200 @@ -18,7 +18,7 @@ Name: parti -Version:1.16 +Version:1.17 Release:0 Summary:Show partition table information License:GPL-3.0 ++ parti-1.16.tar.xz -> parti-1.17.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.16/README.md new/parti-1.17/README.md --- old/parti-1.16/README.md2018-03-06 11:02:17.0 +0100 +++ new/parti-1.17/README.md2018-04-25 15:37:55.0 +0200 @@ -16,7 +16,7 @@ [eltorito]: https://en.wikipedia.org/wiki/El_Torito_%28CD-ROM_standard%29 [fat]: https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#BPB -It shows the complete information but mostly in uninterpreted form (unlike +It shows the complete information and not only the interpreted data (unlike partitioning tools like `fdisk` or `parted`). So it can be used to verify the data your favorite partitioning tool has @@ -25,9 +25,93 @@ ## openSUSE Development The package is automatically submitted from the `master` branch to -[home:snwint](https://build.opensuse.org/package/show/home:snwint/parti) -OBS project. However, unlike other projects, is not submitted automatically to -openSUSE:Factory. +[system:install:head](https://build.opensuse.org/package/show/system:install:head/parti) +OBS project. From that place it is forwarded to +[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory). You can find more information about this workflow in the [linuxrc-devtools documentation](https://github.com/openSUSE/linuxrc-devtools#opensuse-development). + +## Example + +Here's what `parti` says about the +[openSUSE-Tumbleweed installation ISO](http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-i586-Current.iso): + +``` +cd.iso: 9023488 sectors +- - - - - - - - - - - - - - - - +file system: + fs "iso9660", label "openSUSE-Tumbleweed-DVD-x86_6411", uuid "2018-04-25-14-35-10-00" +- - - - - - - - - - - - - - - - +mbr id: 0x7322d96d + sector size: 512 + isolinux.bin: 22924, "/boot/x86_64/loader/isolinux.bin" + mbr partition table (chs 4406/64/32): + 13648 - 11459 (size 7812), chs 1/50/1 - 5/38/4 + type 0xef (efi) + fs "vfat", uuid "732E-5C88", "/boot/x86_64/efi" + fat12: + sector size: 512 + bpb[62], oem "mkfs.fat", media 0xf8, drive 0xff, hs 4/63 + vol id 0x732e5c88, label "NO NAME", fs type "FAT12" + fs size 7812, hidden 0, data start 45 + cluster size 4, clusters 1941 + fats 2, fat size 6, fat start 1 + root entries 512, root size 32, root start 13 + 2 * 11460 - 9023487 (size 9012028), chs 5/38/5 - 1023/63/32 + type 0x17 (ntfs hidden) + fs "iso9660", label "openSUSE-Tumbleweed-DVD-x86_6411", uuid "2018-04-25-14-34-34-00" +- - - - - - - - - - - - - - - - +el torito: + sector size: 512 + boot catalog: 80 + 0type 0x01 (validation entry) + platform id 0x00, crc 0x (ok), magic ok + manufacturer[15] "SUSE LINUX GmbH" + 1 * type 0x88 (initial/default entry) + boot type 0 (no emulation) + load address 0x0, system type 0x00 + start 22924, size 4, "/boot/x86_64/loader/isolinux.bin" + selection criteria 0x01 "Legacy (x86_64)" + 2type 0x91 (last section header) + platform id 0xef, name[0] "" + entries 1 + 3 * type 0x88 (initial/default entry) + boot type 0 (no emulation) + load address 0x0, system type 0x00 + start 3648, size 7812, "/boot/x86_64/efi" + selection criteria 0x01 "UEFI (x86_64)" + fs "vfat", uuid "732E-5C88", "/boot/x86_64/efi" + fat12: + sector size: 512 + bpb[62], oem "mkfs.fat", media 0xf8, drive 0xff, hs 4/63 + vol id
commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2018-03-07 10:37:45 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new (New) Package is "parti" Wed Mar 7 10:37:45 2018 rev:5 rq:583261 version:1.16 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2017-09-11 16:23:35.737921518 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2018-03-07 10:37:56.775404387 +0100 @@ -1,0 +2,14 @@ +Tue Mar 6 10:02:17 UTC 2018 - ama...@suse.de + +- merge gh#wfeldt/parti#7 +- Use standard location for isoinfo binary +- 1.16 + +--- +Mon Mar 5 14:14:58 UTC 2018 - adam.ma...@suse.de + +- switch to using cdrtools - wodim is to be removed. +- cdrtools.patch: Use isoinfo from standard locations, like installed + by mkisofs. + + Old: parti-1.15.tar.xz New: parti-1.16.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.hwyXqO/_old 2018-03-07 10:37:58.779332104 +0100 +++ /var/tmp/diff_new_pack.hwyXqO/_new 2018-03-07 10:37:58.783331959 +0100 @@ -18,7 +18,7 @@ Name: parti -Version:1.15 +Version:1.16 Release:0 Summary:Show partition table information License:GPL-3.0 @@ -28,7 +28,11 @@ BuildRequires: xz BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(uuid) -Requires: genisoimage +%if 0%{suse_version} >= 1500 +Requires: mkisofs +%else +Requires: cdrkit-cdrtools-compat +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ parti-1.15.tar.xz -> parti-1.16.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.15/VERSION new/parti-1.16/VERSION --- old/parti-1.15/VERSION 2017-09-11 10:36:36.0 +0200 +++ new/parti-1.16/VERSION 2018-03-06 11:02:17.0 +0100 @@ -1 +1 @@ -1.15 +1.16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.15/changelog new/parti-1.16/changelog --- old/parti-1.15/changelog2017-09-11 10:36:36.0 +0200 +++ new/parti-1.16/changelog2018-03-06 11:02:17.0 +0100 @@ -1,3 +1,6 @@ +2018-03-06:1.16 + - Use standard location for isoinfo binary + 2017-09-08:1.15 - show more details about extended partition links - verbose now also shows for every partition where it is referenced (that is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.15/parti.c new/parti-1.16/parti.c --- old/parti-1.15/parti.c 2017-09-11 10:36:36.0 +0200 +++ new/parti-1.16/parti.c 2018-03-06 11:02:17.0 +0100 @@ -1197,7 +1197,7 @@ if(!fs_probe(0)) return; - asprintf(, "/usr/lib/genisoimage/isoinfo -R -l -i %s 2>/dev/null", opt.disk.name); + asprintf(, "/usr/bin/isoinfo -R -l -i %s 2>/dev/null", opt.disk.name); if((p = popen(cmd, "r"))) { while(getline(, _len, p) != -1) {
commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2017-09-11 16:22:53 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new (New) Package is "parti" Mon Sep 11 16:22:53 2017 rev:4 rq:522989 version:1.15 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2017-04-11 09:49:02.688181230 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2017-09-11 16:23:35.737921518 +0200 @@ -0,0 +1,7 @@ + +Mon Sep 11 08:36:36 UTC 2017 - wfe...@opensuse.org + +- merge gh#wfeldt/parti#6 +- show more details about extended partition links +- 1.15 + Old: parti-1.14.tar.xz New: parti-1.15.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.eV95w9/_old 2017-09-11 16:23:36.153863114 +0200 +++ /var/tmp/diff_new_pack.eV95w9/_new 2017-09-11 16:23:36.153863114 +0200 @@ -18,7 +18,7 @@ Name: parti -Version:1.14 +Version:1.15 Release:0 Summary:Show partition table information License:GPL-3.0 ++ parti-1.14.tar.xz -> parti-1.15.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.14/VERSION new/parti-1.15/VERSION --- old/parti-1.14/VERSION 2017-04-03 12:10:59.0 +0200 +++ new/parti-1.15/VERSION 2017-09-11 10:36:36.0 +0200 @@ -1 +1 @@ -1.14 +1.15 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.14/changelog new/parti-1.15/changelog --- old/parti-1.14/changelog2017-04-03 12:10:59.0 +0200 +++ new/parti-1.15/changelog2017-09-11 10:36:36.0 +0200 @@ -1,3 +1,7 @@ +2017-09-08:1.15 + - show more details about extended partition links + - verbose now also shows for every partition where it is referenced (that is + 2017-03-31:1.14 - update docs a bit - code de-duplication diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.14/parti.c new/parti-1.15/parti.c --- old/parti-1.14/parti.c 2017-04-03 12:10:59.0 +0200 +++ new/parti-1.15/parti.c 2017-09-11 10:36:36.0 +0200 @@ -43,7 +43,9 @@ struct { unsigned c, h, s, lin; } end; + unsigned real_base; unsigned base; + unsigned idx; } ptable_t; typedef struct { @@ -555,6 +557,7 @@ memset(ptable, 0, entries * sizeof *ptable); for(; entries; entries--, addr += 0x10, ptable++) { +ptable->idx = 4 - entries + 1; u = read_byte(buf + addr); if(u & 0x7f) continue; ptable->boot = u >> 7; @@ -570,6 +573,7 @@ ptable->end.h = read_byte(buf + addr + 5); ptable->end.lin = ptable->start.lin + read_dword_le(buf + addr + 0xc); +ptable->real_base = base; ptable->base = is_ext_ptable(ptable) ? ext_base : base; if(ptable->end.lin != ptable->start.lin && ptable->start.s && ptable->end.s) { @@ -661,6 +665,10 @@ ptable->end.c, ptable->end.h, ptable->end.s ); +if(opt.verbose) { + printf(", [ref %d.%d]", ptable->real_base, ptable->idx); +} + if(opt.show.raw && ptable->base) printf(", ext base %+d", ptable->base); printf("\n");
commit parti for openSUSE:Factory
Hello community, here is the log from the commit of package parti for openSUSE:Factory checked in at 2017-04-11 09:49:01 Comparing /work/SRC/openSUSE:Factory/parti (Old) and /work/SRC/openSUSE:Factory/.parti.new (New) Package is "parti" Tue Apr 11 09:49:01 2017 rev:3 rq:487027 version:1.14 Changes: --- /work/SRC/openSUSE:Factory/parti/parti.changes 2016-10-18 10:42:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2017-04-11 09:49:02.688181230 +0200 @@ -1,0 +2,9 @@ +Mon Apr 3 10:15:14 UTC 2017 - snw...@suse.com + +- update docs a bit +- code de-duplication +- re-arrange fat fs output a bit +- parse vfat super block +- 1.14 + +--- Old: parti-1.13.tar.xz New: parti-1.14.tar.xz Other differences: -- ++ parti.spec ++ --- /var/tmp/diff_new_pack.vKLVZp/_old 2017-04-11 09:49:03.388082360 +0200 +++ /var/tmp/diff_new_pack.vKLVZp/_new 2017-04-11 09:49:03.392081795 +0200 @@ -18,7 +18,7 @@ Name: parti -Version:1.13 +Version:1.14 Release:0 Summary:Show partition table information License:GPL-3.0 ++ parti-1.13.tar.xz -> parti-1.14.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.13/README.md new/parti-1.14/README.md --- old/parti-1.13/README.md2016-10-14 14:21:31.0 +0200 +++ new/parti-1.14/README.md2017-04-03 12:10:59.0 +0200 @@ -2,17 +2,19 @@ ## About -`parti` shows partition table information for +`parti` shows partition and file system details for * [Master Boot Record (MBR) Partition Table][mbr] * [GUID Partition Table (GPT)][gpt] * [Apple Partition Map][apm] * [El Torito Bootable CD/DVD][eltorito] +* [FAT file system BPB][fat] [mbr]: https://en.wikipedia.org/wiki/Master_boot_record [gpt]: https://en.wikipedia.org/wiki/GUID_Partition_Table [apm]: https://en.wikipedia.org/wiki/Apple_Partition_Map [eltorito]: https://en.wikipedia.org/wiki/El_Torito_%28CD-ROM_standard%29 +[fat]: https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#BPB It shows the complete information but mostly in uninterpreted form (unlike partitioning tools like `fdisk` or `parted`). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.13/VERSION new/parti-1.14/VERSION --- old/parti-1.13/VERSION 2016-10-14 14:21:31.0 +0200 +++ new/parti-1.14/VERSION 2017-04-03 12:10:59.0 +0200 @@ -1 +1 @@ -1.13 +1.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.13/changelog new/parti-1.14/changelog --- old/parti-1.13/changelog2016-10-14 14:21:31.0 +0200 +++ new/parti-1.14/changelog2017-04-03 12:10:59.0 +0200 @@ -1,3 +1,9 @@ +2017-03-31:1.14 + - update docs a bit + - code de-duplication + - re-arrange fat fs output a bit + - parse vfat super block + 2015-10-12:1.13 - show decoded gpt attribute bits diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parti-1.13/parti.c new/parti-1.14/parti.c --- old/parti-1.13/parti.c 2016-10-14 14:21:31.0 +0200 +++ new/parti-1.14/parti.c 2017-04-03 12:10:59.0 +0200 @@ -184,6 +184,9 @@ int fs_probe(uint64_t offset); void dump_zipl_components(uint64_t sec); void dump_zipl(void); +int fs_detail_fat(int indent, uint64_t sector); +int fs_detail(int indent, uint64_t sector); +void disk_detail(void); struct option options[] = { @@ -263,6 +266,8 @@ return 3; } + disk_detail(); + fs_detail(0, 0); dump_mbr_ptable(); dump_gpt_ptables(); dump_apple_ptables(); @@ -472,7 +477,14 @@ memcpy(name, buf, len); name[len] = 0; - for(n = name, i = len - 1; i > 0 && !n[i]; i--); + for(n = name, i = len - 1; i >= 0; i--) { +if(n[i] == 0 || n[i] == 0x20 || n[i] == 0x09 || n[i] == 0x0a) { + n[i] = 0; +} +else { + break; +} + } return name; } @@ -652,19 +664,11 @@ if(opt.show.raw && ptable->base) printf(", ext base %+d", ptable->base); printf("\n"); -fs_probe(((unsigned long long) ptable->start.lin + ptable->base) * opt.disk.block_size); printf(" type 0x%02x", ptable->type); char *s = mbr_partition_type(ptable->type); if(s) printf(" (%s)", s); -if(fs.type) { - printf(", fs \"%s\"", fs.type); - if(fs.label) printf(", label \"%s\"", fs.label); - if(fs.uuid) printf(", uuid \"%s\"", fs.uuid); -} -if((s = iso_block_to_name((unsigned long long) ptable->start.lin + ptable->base))) { - printf(", \"%s\"", s); -
commit parti for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2016-10-18 10:42:55.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.A7mgF7/_new 2016-10-18 10:42:57.0 +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.0 +0200 +++ new/parti-1.13/VERSION 2016-10-14 14:21:31.0 +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/changelog2015-10-12 14:28:23.0 +0200 +++ new/parti-1.13/changelog2016-10-14 14:21:31.0 +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.0 +0200 +++ new/parti-1.13/parti.c 2016-10-14 14:21:31.0 +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" }, +{