bug#18511: parted-3.2 fails to build with gold linker

2014-09-20 Thread Jim Meyering
On Fri, Sep 19, 2014 at 8:41 AM, Heiko Becker wrote: > if I try to build parted-3.2 with the gold linker I get the following > error. The attached patch fixes that for me. Thank you. I've pushed that.

bug#17597: FYI, I've run "make update-copyright"

2014-05-25 Thread Jim Meyering
The out of date copyright dates are annoying to me, because i have a write hook that asks me if I want to update them any time I change a file with one. As such, I have the policy of never doing that during any other commit (it'd introduce an unrelated diff that would make back-porting or cherry-p

bug#17596: [PATCH] maint: fix "make syntax-check" nits

2014-05-25 Thread Jim Meyering
"make syntax-check" detected various minor problems. This patch fixes them. They're all trivial, but I will wait for an ACK. 0001-maint-fix-make-syntax-check-nits.patch Description: Binary data

bug#17595: [PATCH] maint: remove doubled word: s/on on/on/

2014-05-25 Thread Jim Meyering
FYI: 0001-maint-remove-doubled-word-s-on-on-on.patch Description: Binary data

bug#17594: [PATCH] gnulib: update submodule to latest

2014-05-25 Thread Jim Meyering
FYI, I've just applied this: 0001-gnulib-update-submodule-to-latest.patch Description: Binary data

bug#17593: [PATCH] tests: avoid false-positive failure due to symlink

2014-05-25 Thread Jim Meyering
Without this patch, I would see a spurious failure in this test: 0001-tests-avoid-false-positive-failure-due-to-symlink.patch Description: Binary data

bug#16486: bug report

2014-01-19 Thread Jim Meyering
On Sat, Jan 18, 2014 at 12:31 PM, Sara Walsh wrote: > Version 1.8.9 > Assertion (cluster >=2 && cluster < fs_info->cluster_count + 2) at > calc.c:378 in function fat_cluster_to_frag()failed. Thanks for the report. However, parted-1.8.9 is very old, and I'm pretty sure that bug has been fixed in

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-22 Thread Jim Meyering
Perfect. Thanks! Marking this "done" in the bug-tracker.

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-22 Thread Jim Meyering
Oh, and please add an item to NEWS, e.g., the sentence I suggested a day or two ago.

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-22 Thread Jim Meyering
On Sun, Dec 22, 2013 at 6:17 PM, Phillip Susi wrote: > +# check for expected output > +dd if=$dev bs=1 skip=$(($sector_size_+$sector_size_+58)) count=10 > 2>/dev/null | od -An -tx1 > out || fail=1 > +echo \ 66 00 6f 00 6f 00 24 1d 00 00 >> exp Thank you. That looks correct and is now more porta

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-21 Thread Jim Meyering
> So I added a test and just fired off the revised patch. Thanks for doing that! > Running the > test suite though, things go fubar. A bunch of tests fail with parted > crashing with a segfault. The first one is > t0205-gpt-list-clobbers-pmbr. The thing is, when I run the exact same > command

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-21 Thread Jim Meyering
> Say, if you have some time for patch reviewing these days, think you > could take a look at the online resize patch set? They have been in > Debian and Ubuntu now for a bit and the last gparted livecd is using > them, so it would be nice to finally get them applied upstream and a > new release d

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-21 Thread Jim Meyering
On Fri, Dec 20, 2013 at 6:25 PM, Phillip Susi wrote: > gpt.c was simply truncating the UTF-16 characters stored > in the partition name field to 8 bits. This corrupted non > ascii characters which later resulted in parted crashing in > strlist.c trying to convert the now invalid multi byte > char

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-20 Thread Jim Meyering
On Fri, Dec 20, 2013 at 6:16 AM, Phillip Susi wrote: ... > You can create one with parted after applying the patch, or with > gdisk, and entering a unicode character in the name. Also git has no > problem with binary files; util-linux includes several bzip2'd binary > disk images for its test sui

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-19 Thread Jim Meyering
On Thu, Dec 19, 2013 at 6:05 PM, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 12/19/2013 05:13 PM, Jim Meyering wrote: >> Also, it'd be great to add a test case that fails without this >> fix? > > I can create a partition ta

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-19 Thread Jim Meyering
Oh, and since this is a bug fix, it deserves mention in NEWS.

bug#15591: [PATCH] libparted: handle i18n gpt partition names correctly

2013-12-19 Thread Jim Meyering
On Thu, Dec 19, 2013 at 1:25 PM, Phillip Susi wrote: > gpt.c was simply truncating the UTF-16 characters stored > in the partition name field to 8 bits. This corrupted non > ascii characters which later resulted in parted crashing in > strlist.c trying to convert the now invalid multi byte > char

bug#15356: [PATCH 00/19] Fedora parted patches

2013-10-01 Thread Jim Meyering
On Sun, Sep 29, 2013 at 6:02 PM, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > I find that most comments that get added this way end up being of the > useless restating the obvious variety. In the event that some code > isn't obvious from the general description, eit

bug#15356: [PATCH 00/19] Fedora parted patches

2013-09-29 Thread Jim Meyering
On Sat, Sep 28, 2013 at 6:05 PM, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > I see what you meant now about the comment style: > > *file1: add feature x > *file2: same > *file3: test feature x > *file4: document feature x > > I don't think these kind of comments add

bug#15356: [PATCH 00/19] Fedora parted patches

2013-09-12 Thread Jim Meyering
On Wed, Sep 11, 2013 at 1:46 PM, Brian C. Lane wrote: > Uhh, what the heck is up with the To: line and the subject lines? I sent > these to the list > address (bug-parted@gnu.org) Hi Brian, Sorry I didn't announce it, but I've requested that this list (like coreutils, emacs -- and now grep, gzip

Re: parted coredump when partition incorrect

2013-08-24 Thread Jim Meyering
ve_mode+0x82) > [0x40b392] > 3: /root/parted-3.0/parted/.libs/lt-parted(main+0x1d4) [0x407be4] > 2: /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x302af1c4bb] > 1: /root/parted-3.0/parted/.libs/lt-parted [0x404c7a] > Aborted (core dumped) > > > 2013/8/15 Jim Meyering &g

Re: Moving forward on parted development

2013-06-20 Thread Jim Meyering
Phillip Susi wrote: > It's now been over 6 months since Jim left redhat and parted > development has stalled. I'd like to get it going again. I think I'm > going to repost my pending patches in the next days and see if anyone > has time to review them yet, and either way, I'd like to go ahead and

Re: [PATCH 0/2] libparted: Add FBA/EAV DASD support for Linux on IBM System z

2013-06-17 Thread Jim Meyering
Jim Meyering wrote: ... > Hi Hendrik, > I have not done this, and I'll be traveling shortly, so I was going to > say it'd take a few more weeks, apologizing for the delay, but then I > actually checked the FSF database of recorded assignments and disclaimers > and foun

Re: [PATCH 0/2] libparted: Add FBA/EAV DASD support for Linux on IBM System z

2013-06-16 Thread Jim Meyering
Jim Meyering wrote: > Hendrik Brueckner wrote: >> Hi Jim, >> >> On Thu, Nov 22, 2012 at 11:10:25PM +0100, Jim Meyering wrote: >>> Hendrik Brueckner wrote: >>> > On Wed, Oct 10, 2012 at 07:25:59AM +0200, Jim Meyering wrote: >>> >> Hendrik

Re: [PATCH 0/2] libparted: Add FBA/EAV DASD support for Linux on IBM System z

2013-05-29 Thread Jim Meyering
Hendrik Brueckner wrote: > Hi Jim, > > On Thu, Nov 22, 2012 at 11:10:25PM +0100, Jim Meyering wrote: >> Hendrik Brueckner wrote: >> > On Wed, Oct 10, 2012 at 07:25:59AM +0200, Jim Meyering wrote: >> >> Hendrik Brueckner wrote: >> >> > Hello Ji

FYI, updated to latest from gnulib, and copyright years

2013-01-06 Thread Jim Meyering
error=suggest-attribute=format] vsnprintf ( msg_concat, 8192, msg, arg_list ); ^ cc1: all warnings being treated as errors exception.c: In function 'ped_exception_throw': >From 1c659d5cc6830c6f4f26660e9049582afbad3fd3 Mon Sep 17 00:00:00 2001 F

[PATCH] doc: 1MiB-alignment is not enough for cheap flash drives

2013-01-02 Thread Jim Meyering
FYI, >From 21be64fc6ef60a1e9dc7bc352131be58cc59d61d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Jan 2013 12:52:14 +0100 Subject: [PATCH] doc: 1MiB-alignment is not enough for cheap flash drives * doc/parted.texi: Add an example that aligns to 4GiB, and reference Arnd Bergman&#x

Re: ZFS Support in Parted

2012-12-13 Thread Jim Meyering
Hi Richard, Thank you. I'll put together a commit showing that Robert Millan is the original author and that you've revised it. Also, I'd like a test that exercises the new code, and will try to wrap it up this weekend. Richard Yao wrote: > I ported ZFS support to Gentoo's parted 3.1 package fro

Re: Parted 2.2 vs. 3.1

2012-11-24 Thread Jim Meyering
Luiji Maryo wrote: > I'm Luiji, from the GNU Web Masters. We got a request to update the download > link at /s/parted/download from 2.2 to 3.1. Before I do this, I would like to > ask if there is any reason that it should stay that way. Is 2.2 considered the > current stable version and 3.1 some ty

Re: [PATCH 0/2] libparted: Add FBA/EAV DASD support for Linux on IBM System z

2012-11-22 Thread Jim Meyering
Hendrik Brueckner wrote: > On Wed, Oct 10, 2012 at 07:25:59AM +0200, Jim Meyering wrote: >> Hendrik Brueckner wrote: >> > Hello Jim and parted developers, >> > >> > this patch series introduces support for handling Fixed-Block-Access and >> > Extende

Re: [BUG] I broke a disk using parted, so now parted crashes when using the disk

2012-10-31 Thread Jim Meyering
Peter Maloney wrote: > Forgot to include version. > > peter:/mnt # parted -v > parted (GNU parted) 2.4 Thanks. As suspected, the bug you reported has been fixed since that release. With 3.1, you should be fine. > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version

Re: [BUG] I broke a disk using parted, so now parted crashes when using the disk

2012-10-31 Thread Jim Meyering
Peter Maloney wrote: ... > peter:/mnt # parted /dev/sdb unit s print > Backtrace has 13 calls on stack: > 13: /usr/lib64/libparted.so.0(ped_assert+0x2e) [0x7fb751212a6e] > 12: /usr/lib64/libparted.so.0(ped_geometry_read+0x80) [0x7fb75121a1e0] > 11: /usr/lib64/libparted.so.0(ped_geometry_read_

enable --enable-gcc-warnings by default in a from-clone build

2012-10-23 Thread Jim Meyering
Eric did this in libvirt, and I liked it, so also in coreutils. Finally, I'm updating all other C projects I tend to do the same thing: >From d3a81337ff149294b7cf63c45a61ffa24fa542c5 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 23 Oct 2012 11:07:29 +0200 Subject: [PATCH] build: default to

Re: Trying to build parted as a static unlinked binary, need help.

2012-10-18 Thread Jim Meyering
gi_j...@hushmail.com wrote: > Its part of a project. > > Its going to be copied to a tmpfs partition(with some other static binaries), > and its initial source it was copied from will be overwritten. Any dynamic > linkings and it fails. > > On 10/17/2012 at 3:18 PM,

Re: improving usability by removing the - in the middle of a command

2012-10-18 Thread Jim Meyering
Bendtsen, Jon wrote: > On 18/10/2012, at 11.12, Jim Meyering wrote: > >> Bendtsen, Jon wrote: >> >>> On 18/10/2012, at 10.44, Jim Meyering wrote: >>> >>>> Bendtsen, Jon wrote: >>>>> I here by propose that you remove the - in the middle

Re: improving usability by removing the - in the middle of a command

2012-10-18 Thread Jim Meyering
Bendtsen, Jon wrote: > On 18/10/2012, at 10.44, Jim Meyering wrote: > >> Bendtsen, Jon wrote: >>> I here by propose that you remove the - in the middle of any >>> commands. The purpose is to improve the usability because having to >>> type a - in the mid

Re: improving usability by removing the - in the middle of a command

2012-10-18 Thread Jim Meyering
Bendtsen, Jon wrote: > I here by propose that you remove the - in the middle of any > commands. The purpose is to improve the usability because having to > type a - in the middle of a command interrupts my keyboard flow, where > as not typing it does not. > > Further more there is only 1 command th

Re: Trying to build parted as a static unlinked binary, need help.

2012-10-17 Thread Jim Meyering
gi_j...@hushmail.com wrote: > I am trying to build GNU parted as a static unlinked library so its portable > with no library deps. > > and I am failing. > > best way to do this? Why do you want that? Can you use a gparted ISO instead? http://gparted.sourceforge.net/

[PATCH] maint: use $(AM_V_GEN) to cut down on build noise

2012-10-17 Thread Jim Meyering
8 -a ./partprobe.8.$locale.po.addendum ; \ fi ; \ done so made the following change. Now, in place of the above, I see only one line: GEN partprobe.8 You can still see the gory detail by building with "make V=1". >From 6b86774fe121d8c66343b939f146a67e5910652c Mon Sep 17 0

Re: [PATCH 0/2] libparted: Add FBA/EAV DASD support for Linux on IBM System z

2012-10-09 Thread Jim Meyering
Hendrik Brueckner wrote: > Hello Jim and parted developers, > > this patch series introduces support for handling Fixed-Block-Access and > Extended Address Volume DASDs available for Linux on IBM System z. > > For more details, have a look at the patches: > > [PATCH 1/2] libparted: dasd: Added

[PATCH] build: do not rely on automake's AM_TESTS_ENVIRONMENT

2012-10-09 Thread Jim Meyering
Phillip Susi reported this privately: > FAIL: help-version.sh (exit: 1) > === > > ./init.cfg: line 130: /tests/t-lib-helpers.sh: No such file or directory Here's the fix: >From 319e7cd590ae16460cfecb70715bf41ceec81d1e Mon Sep 17 00:00:00 2001 From

Re: [PATCH] parted-3.1, fix t8001 not to fail if modprobe fail

2012-10-09 Thread Jim Meyering
g@free.fr wrote: > - Mail original - >> De: "Jim Meyering" >> À: "Gilles Espinasse" >> Cc: bug-parted@gnu.org, "petr uzel" >> Envoyé: Samedi 6 Octobre 2012 20:35:08 >> Objet: Re: [PATCH] parted-3.1, fix t8001 not to

Re: [PATCH] parted-3.1, fix t8001 not to fail if modprobe fail

2012-10-06 Thread Jim Meyering
Gilles Espinasse wrote: > Remove 'rmmod loop' and 'modprobe loop max_part=7' instructions > The second command may fail after the first command have run, leaving the > machine with no loop support. > > This happen on my chroot as > - rmmod do not depend if the loop module is available, > - modprob

Re: [PATCH] tests: stop using private "dev" directory for losetup

2012-10-06 Thread Jim Meyering
Stefano Lattarini wrote: > Hi Jim. > > I think I might have spotted a little typo ... > > On 10/06/2012 11:45 AM, Jim Meyering wrote: >> This root-only test had been failing for me for a while. >> Something changed (kernel? losetup? SELinux?) about how device >>

[PATCH] tests: stop using private "dev" directory for losetup

2012-10-06 Thread Jim Meyering
Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 6 Oct 2012 11:11:32 +0200 Subject: [PATCH] tests: stop using private "dev" directory for losetup Something about Fedora 17's losetup changed so that using a private dev directory no longer worked. Now, simply use /dev/ dir

Re: Doxygen comment typo in libparted/disk.c

2012-10-03 Thread Jim Meyering
Bob Beers wrote: > Hi, > > please consider applying attached patch. > $ cat parted-3.1-doxcomment-rmb01.diff > diff -purb parted-3.1-orig/libparted/disk.c parted-3.1/libparted/disk.c > --- parted-3.1-orig/libparted/disk.c 2012-02-02 11:12:20.0 -0500 > +++ parted-3.1/libparted/disk.c 2012-10

[PATCH] tests: clean up tests

2012-09-29 Thread Jim Meyering
There was significant duplication and some minor nits in the test scripts. I've pushed this clean-up patch: >From c987c73cbe773dfa3b14b911ffc243137195bbb3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 29 Sep 2012 12:10:35 +0200 Subject: [PATCH] tests: clean up tests Use warn_

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2012-09-29 Thread Jim Meyering
Rod Smith wrote: > On 09/23/2012 03:46 PM, Jim Meyering wrote: >> >> Rod, >> >> Better late than never... >> Here is your patch, with modifications to the log (please double >> check it for grammar), and to the code for consistency in space-vs-TAB >> in

parted-3.2: planning to release next week

2012-09-27 Thread Jim Meyering
I would like to release parted-3.2 in the next week or so. Yes, there are a few known bugs (some with patches nearly ready), and I would like to include them as soon as possible. If you know of pending bugs and can send a rebased patch, that would be most welcome. If you know of a bug that may no

Re: Minimum size of GPT partition table header

2012-09-23 Thread Jim Meyering
rahul dev wrote: ... >> Has this code caused an actual problem for you? > > One more question here. > Should we allow read of gpt table in case the header size > 92 ? This > is because if the header size has been increased, the header revision > should also be increased. So, we should fail reading

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2012-09-23 Thread Jim Meyering
Rod Smith wrote: > On 03/06/2012 04:21 AM, Jim Meyering wrote: >> Keshav P R wrote: >>> Status of Rod's patch? >> >> It breaks one of the "make check" tests, and I suggested how to fix that. >> It did not update NEWS or documentation, and it

Re: Minimum size of GPT partition table header

2012-09-21 Thread Jim Meyering
rahul dev wrote: > Guys, > >There seems to be a bug in function _header_is_valid() in file gpt.c. > > static int > _header_is_valid (PedDisk const *disk, GuidPartitionTableHeader_t *gpt, > PedSector my_lba) > { > uint32_t crc, origcrc; > PedDevice const *dev = disk->dev; >

[PATCH] tests: mac: exercise the just-fixed bug

2012-09-20 Thread Jim Meyering
>From 6499402a18baf22f08084acb289431b731d3afda Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Sep 2012 20:18:50 +0200 Subject: [PATCH] tests: mac: exercise the just-fixed bug * tests/t0350-mac-PT-increases-sector-size.sh: New test. * tests/Makefile.am (TESTS): Add it. --- tests/Mak

[PATCH] tests: avoid syntax-check failure for reversed compare args

2012-09-20 Thread Jim Meyering
FYI, >From 241b55258cd2d7700e90ae90c140ccb01f726cab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Sep 2012 20:22:13 +0200 Subject: [PATCH] tests: avoid syntax-check failure for reversed compare args * tests/t0203-gpt-create-on-min-sized-device.sh: Reverse args, so that any d

Re: [PATCH 2/2] gpt: permit "mklabel gpt" on a 67-sector device

2012-09-12 Thread Jim Meyering
Jim Meyering wrote: > Yesterday I tried to create a gpt label on a device that was > too small. I did see the expected failure (exit nonzero), but did > not expect an accompanying failure: no diagnostic. This fixes the no-diagnostic problem: >From 7ca7f595e4cef589db852394687a6ca0

[PATCH 2/2] gpt: permit "mklabel gpt" on a 67-sector device

2012-09-12 Thread Jim Meyering
rom 81faa9b3b957781871ec3ef0df6e357388f857a1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 12 Sep 2012 20:34:48 +0200 Subject: [PATCH 1/2] tests: update t7000-scripting.sh to avoid new FP * tests/t7000-scripting.sh: Use -34s as the endpoint, not -1s, to avoid a spurious difference. Also, remove quoting artifa

[PATCH 1/2] maint: remove unnecessary wcslen use

2012-09-12 Thread Jim Meyering
FYI, two tiny patches: >From 464c0f9ae4af8346cd494c6434f4addabdd76e9d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 11 Sep 2012 17:22:52 +0200 Subject: [PATCH 1/2] maint: remove unnecessary wcslen use * parted/strlist.c (gettext_to_wchar): Tighten up test for mbsrtowcs failure

Re: [PATCH 00/11] various minor cleanup to the build system

2012-08-30 Thread Jim Meyering
Stefano Lattarini wrote: > On 08/30/2012 08:01 PM, Jim Meyering wrote: >> That suggests that bootstrap/gnulib-tool is sorting >> those lines via different locales. >> >> Here's what I use: >> >> $ locale >> LANG=en_US.UTF-8 >>

Re: [PATCH 00/11] various minor cleanup to the build system

2012-08-30 Thread Jim Meyering
Stefano Lattarini wrote: > On 08/30/2012 07:28 PM, Jim Meyering wrote: >> Stefano Lattarini wrote: >>> Several minor cleanups and modernization. Some of them are good >>> on their own, some are motivated by the will to make a future >&g

Re: [PATCH 00/11] various minor cleanup to the build system

2012-08-30 Thread Jim Meyering
Stefano Lattarini wrote: > Several minor cleanups and modernization. Some of them are good > on their own, some are motivated by the will to make a future > support of Automake-NG easier. > > -*-*-*- > > Stefano Lattarini (11): > build: prefer $(AM_CPPFLAGS) over $(INCLUDES) > build: don't lis

update from gnulib, address new syntax-check failures

2012-08-30 Thread Jim Meyering
FYI, >From 89377f99947391c081df6dad27edf6ac3daec5c0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Aug 2012 19:47:54 +0200 Subject: [PATCH 1/3] maint: avoid new syntax-check failure re @xref * doc/parted.texi: Adjust @xref usage: it must be used only at start of sentence. *

Re: support for partitioned linux md devices

2012-08-24 Thread Jim Meyering
Miquel van Smoorenburg wrote: > I've also filed this as a debian bugreport, > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684713 > > Linux md raid array devices come in two flavours: partionable > (/dev/md_d0) and non-partitionable (/dev/md0). Or at least, > that used to be the case, until ker

Re: Bug in GNU Parted?

2012-04-14 Thread Jim Meyering
Robert Stagner wrote: > While using GNU parted version 2.3, I encountered the following message > > (parted) print > Error: Invalid argument during seek for read on /dev/sdb1 > Retry/Ignore/Cancel? R > Error: Invalid argument during seek for read on /dev/sdb1 > Retry/Ignore/Cancel? I > Error: The b

Re: Can't detect filesystems in devices with 4096-byte sector size

2012-04-10 Thread Jim Meyering
ed all file-system probe-related code for any sector size > 512: commit fff559b4e987d9404a788a817630c394af89db48 Author: Jim Meyering Date: Tue Dec 18 16:17:06 2007 +0100 disable some file-system-related probe tests for sector size > 512 These changes keep us from recognizin

Re: Bug with SLES11 SP2 on HP G6 server.

2012-04-03 Thread Jim Meyering
clive.rothery wrote: > When running partprobe on SLES , the following error occurs. > As the subject says SLES 11 SP2, with a G6 server. The disks are on a cciss > controller. > > Firmware version > > Current Firmware: 2.05 12/16/2010 > > This is the message reported after running a fdsik then

[PATCH] tests: remove bogus envvar setting from t0300-dos-on-gpt.sh

2012-03-26 Thread Jim Meyering
FYI >From 7fd33a6d24da6a82b830552999b2332140f556d4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 26 Mar 2012 21:52:08 +0200 Subject: [PATCH] tests: remove bogus envvar setting from t0300-dos-on-gpt.sh * tests/t0300-dos-on-gpt.sh: Remove envvar setting that effectively disabled test

Re: [PATCH] git-version-gen: initialize prefix

2012-03-18 Thread Jim Meyering
Andreas Oberritter wrote: > Initialize (version-)prefix to prevent inheritance from > the build environment during autoreconf. > > | sed: -e expression #1, char 9: unknown option to `s' > | configure.ac:55: error: AC_INIT should be called with package and > | version arguments > | aclocal.m4:594:

Re: [user] How to get this parted output?

2012-03-08 Thread Jim Meyering
Gilles wrote: > On Thu, 08 Mar 2012 15:31:24 +0100, Gilles > wrote: > >>On Thu, 08 Mar 2012 15:15:46 +0100, Jim Meyering >>wrote: >>>Then you want two primary partitions, and you already know >>>their types and starting and ending sector numbers, so do

Re: [user] How to get this parted output?

2012-03-08 Thread Jim Meyering
Gilles wrote: > (This is not a bug, but rather a user question. I had to subscribe to > the bug@ mailing-list as there doesn't seem to be a user@ list that > would have been more appropriate.) This list is a fine place for questions. > After playing with a test host, I need to recreate /dev/sda1

Re: Need for a unique Linux GPT GUID type code (PATCH included)

2012-03-06 Thread Jim Meyering
Keshav P R wrote: >     Status of Rod's patch? It breaks one of the "make check" tests, and I suggested how to fix that. It did not update NEWS or documentation, and it did not add any test case of its own. > I suggest a similar "linuxdata" flag to set a partitoon as Linux Data > type irrespectiv

Re: new snapshot available: parted-3.0.136-1f80

2012-03-02 Thread Jim Meyering
Rod Smith wrote: > On 02/18/2012 12:00 PM, Jim Meyering wrote: >> >> A release is overdue, so in the hopes of accelerating the process, >> here is a snapshot. > > I note that this snapshot doesn't include my Linux-specific GPT > partition type code patch, whic

parted-3.1 released [stable]

2012-03-02 Thread Jim Meyering
est for GPT PMBR pmbr_boot flag doc: update parted documentation Christoph Hellwig (1): tests: add FS-resize test driver H. Peter Anvin (1): libparted: simplify kernel version-parsing logic Jim Meyering (90): post-release administrivia libparted: accommodate

[PATCH 3/3] maint: bump library version to 2.0.0

2012-03-02 Thread Jim Meyering
FYI... And remove some cruft: >From 4e6ad5461660c1dc3d97a0d76e7dabea0aebd26f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 2 Mar 2012 12:29:04 +0100 Subject: [PATCH 1/3] lib-fs-resize: remove unused probe-related code * libparted/fs/r/hfs/probe.c: Remove probe-related functions. Th

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Jim Meyering
Chris Murphy wrote: > On Feb 27, 2012, at 3:40 PM, Jim Meyering wrote: >>> >> >> Thanks for all the detail. >> FYI, I was able to reduce your abort-provoking 620MB image to a tiny >> 4KiB compressed tarball ;-) and attached it to this RHEL bug report: >&g

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-27 Thread Jim Meyering
Chris Murphy wrote: ... > Regressions, detail: > > 1. Clean 10.7.0 install, crash does not occur. > > a. Zero'd the first 80GB of the target disk. > b. Installed 10.7.0, which produces three partitions: EFI fat32, Mac > OS hfsx, Apple Boot hfs+. > c. Attempted to install CentOS 6.2. It proceeded pa

Re: with a raid0 disk - "Can't have a partition outside the disk"

2012-02-27 Thread Jim Meyering
Peter Maloney wrote: > Problem: > > I tried to print the partition table of the first disk in a raid0 set > (using the raw disk rather than a RAID device), expecting the partitions > to be displayed with the partition outside the disk, but instead parted > refuses to work: > > # parted -s /dev/sdd

Re: parted 2.1 crash with 'Apple Boot' partition

2012-02-26 Thread Jim Meyering
Chris Murphy wrote: > was: parted 2.1 crash with (encrypted) Apple Core Storage partition > > > On Feb 9, 2012, at 1:45 AM, Chris Murphy wrote: > >> >> On Feb 9, 2012, at 1:39 AM, Jim Meyering wrote: >>>>> >>>> >>>> 565M is the fin

[PATCH] libparted: avoid unwarranted failed assertion during mklabel

2012-02-26 Thread Jim Meyering
= disk->dev->sector_size / >512); 708 found = 1; 709 break; 710 } 711 } 712 free (buf); (gdb) p i $1 = 4 (gdb) p disk->dev->sector_size $2 = 1024 Here's the fix: >From 4559c510f02a69

[PATCH] doc: improve NEWS

2012-02-25 Thread Jim Meyering
FYI, >From 187e7cba48094505f00532698dfb04ab40575231 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 25 Feb 2012 11:16:54 +0100 Subject: [PATCH] doc: improve NEWS * NEWS: Expand/adjust wording in two entries. --- NEWS | 13 - 1 file changed, 8 insertions(+), 5 deleti

Re: [platform-testers] new snapshot available: parted-3.0.136-1f80

2012-02-21 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> The sole failure seems to be due to mkswap failing on your system. >> However, the code that is failing redirects stderr and stdout >> to /dev/null, so there is no clue in the log. >> >> I confirmed that it works on ope

Re: Patch to add new '--unit' option to parted

2012-02-20 Thread Jim Meyering
Mike Cooper wrote: > The "parted -m print" output is quite useful but it lacks the > ability to specify an option to control the units which are displayed. > The attached source diff for parted 3.0 adds a new command line option > --unit compact|sector|byte|cylinder|chs' which provides the desired

Re: [platform-testers] new snapshot available: parted-3.0.136-1f80

2012-02-19 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> http://meyering.net/parted/parted-3.0.136-1f80.tar.xz ... > Linux (openSUSE 12.1): ... > === >GNU parted 3.0.136-1f80: te

new snapshot available: parted-3.0.136-1f80

2012-02-18 Thread Jim Meyering
assertion parted: when printing, also print the new disk flags tests: update tests for new disk flags output tests: add test for GPT PMBR pmbr_boot flag doc: update parted documentation Christoph Hellwig (1): tests: add FS-resize test driver H. Peter Anvin (1):

[PATCH] build: avoid non-srcdir build failure

2012-02-18 Thread Jim Meyering
I've just noticed that a non-srcdir build was failing. I introduced that with the FAT/HFS FS-resize restoration. Here's the fix: >From 763c1cf287d2b264eb5c988e52ffd32ded594e42 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 18 Feb 2012 15:40:49 +0100 Subject: [PATCH] bui

[PATCH] tests: skip failing use of mkfs.hfs unless using newer, fixed version

2012-02-18 Thread Jim Meyering
"make distcheck" has been failing for anyone who runs the root-only tests, due to a losing fsck.hfs. Work around it: >From 48977ba4804fe73562f113f9678465a516449153 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 18 Feb 2012 15:24:37 +0100 Subject: [PATCH] tests: skip f

Re: libparted-fs-resize: HFS/FAT file system resizing library

2012-02-10 Thread Jim Meyering
Curtis Gedak wrote: > On 12-02-06 04:05 AM, Jim Meyering wrote: >>>> parted provides a new library, libparted-fs-resize, for resizing >>>> HFS+ and FAT file systems. This is the subset of the FS-manipulation >>>> functionality removed in par

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-09 Thread Jim Meyering
Chris Murphy wrote: > OK, I'm bailing on the debugging because parted-debuginfo isn't signed > and won't install. :-\ If the lack of a signature is the only problem, running debuginfo-install with its --nogpgcheck option should work. > On Feb 8, 2012, at 1:20 PM, Jim Me

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 11:43 PM, Chris Murphy wrote: >> On Feb 8, 2012, at 11:34 PM, Jim Meyering wrote: >>> >>> If it makes CentOS6.2's parted abort, then I will be happy to work on >>> it. Can you install debug symbols and invoke pa

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 10:44 PM, Jim Meyering wrote: >> You're right that I may be able to reproduce simply with one >> of those encrypted partitions. Can you create a minimal one and send it? > > > I made a small one on a boot stick, moved it to a

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 1:59 PM, Jim Meyering wrote: >> >> Now that I think of it, I'll bet this is an instance of that wrapped >> partition. You've probably triggered an excursion into libparted code >> that is rarely used, to handle that

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > Since I'm unable to get past the crash to install CentOS, I don't have > a way to install debug symbols, since I'm booted off install media. > > Perhaps an easier way to test this is if I could dd the first XX MB of > the suspected (encrypted) partition, to an image file (as a

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 12:27 PM, Chris Murphy wrote: >> >> text output trying to run "parted -l", booted from CentOS 6.2 LiveDVD: >> [centoslive@livedvd ~]$ su >> [root@livedvd centoslive]# parted -l >> Backtrace has 14 calls on stack: >> 14: /lib64/libparted-2.1.so.0(ped_assert

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > Summary: An Apple laptop containing a single drive, GPT, with 8 > partitions, booting CentOS 6.0, anaconda crashes with a backtrace > implicating libparted. Running "parted -l" results in a crash as > well. This did not happen prior to the creation of a core storage* > partiti

[PATCH 1/2] libparted: gpt: avoid heap-read-overrun when rewriting 9-PTE table

2012-02-07 Thread Jim Meyering
the device. Here's the fix: >From 905811b14ae10a0d292b9da58469ff788e1cdd73 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 6 Feb 2012 15:00:53 +0100 Subject: [PATCH 1/2] libparted: gpt: avoid heap-read-overrun when rewriting 9-PTE table Now that parted can rewrite a corrupt-or-mi

Re: libparted-fs-resize: HFS/FAT file system resizing library

2012-02-06 Thread Jim Meyering
Curtis Gedak wrote: > On 12-02-03 02:46 PM, Jim Meyering wrote: >> From NEWS: >> >> parted provides a new library, libparted-fs-resize, for resizing >> HFS+ and FAT file systems. This is the subset of the FS-manipulation >> functionality removed in p

[PATCH 06/10] maint: remove r/hfs/DOC,HISTORY,TODO; add VERSION for new library

2012-02-03 Thread Jim Meyering
From: Jim Meyering --- libparted/fs/Makefile.am | 16 -- libparted/fs/r/hfs/DOC | 92 --- libparted/fs/r/hfs/HISTORY | 115 libparted/fs/r/hfs/TODO| 27 -- 4 files changed, 11 insertions

[PATCH 08/10] tests: add FS-resize test driver

2012-02-03 Thread Jim Meyering
From: Christoph Hellwig * tests/fs-resize.c: New file, to test FAT/HFS resizing. --- tests/fs-resize.c | 76 + 1 files changed, 76 insertions(+), 0 deletions(-) create mode 100644 tests/fs-resize.c diff --git a/tests/fs-resize.c b/tests/fs-

[PATCH 09/10] tests: test FAT and HFS file system resizing

2012-02-03 Thread Jim Meyering
From: Jim Meyering * tests/t3000-resize-fs.sh: New test. * tests/Makefile.am (TESTS): Add it. (check_PROGRAMS): Add fs-resize. (fs_resize_LDADD): Define, so it links with both libraries. --- tests/Makefile.am|7 +++- tests/t3000-resize-fs.sh | 112

[PATCH 05/10] lib-fs-resize: rewrite ped_file_system_clobber

2012-02-03 Thread Jim Meyering
From: Jim Meyering Before, it would probe for an existing file system type and then, according to what it found, call the corresponding _clobber function. Now that we have restored only HFS and FAT FS-writing support, only those few types have a corresponding _clobber function. We would

[PATCH 10/10] doc: mention HFS+/FAT file system resizing in NEWS

2012-02-03 Thread Jim Meyering
From: Jim Meyering * NEWS (New features): Mention it. --- NEWS | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index 0bfcf6a..2793ce4 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,16 @@ GNU parted NEWS-*- outline

  1   2   3   4   5   >