Re: Add support for cksum --algorithm [sm3]

2021-09-08 Thread Michael Stone
On Tue, Sep 07, 2021 at 04:45:23PM +0100, Pádraig Brady wrote: This patch set refactors all digest implementations to their own modules, all interfaced through digest.c. All file operations and diagnostics are done in digest.c. All digests are made available through `cksum -a`. Also we add

Re: [PATCH 7/8] cksum: add --algorithm option to select digest mode

2021-09-08 Thread Pádraig Brady
This didn't implement `cksum -a blake2b` fully. The attached fixes this up, which I'll fold it into this patch. I've also augmented the test to check this. cheers, Pádraig. diff --git a/src/digest.c b/src/digest.c index 7e82166c2..fac2f2419 100644 --- a/src/digest.c +++ b/src/digest.c @@ -146,14

bug#50432: DF shows incorrect disk usage which include disk usage of a mounted path

2021-09-08 Thread Paco Xu
Paul, thanks for reply. Agree, it may be related with the file system. I use this workaround to add `--local` and `-x` flag for `df` to avoid the wrong calculation. I got the workaround from https://github.com/moby/moby/issues/42823#issuecomment-913584814. Best regards Paco 在 2021/9/8

Re: Coreutils for AIX5.2

2021-09-08 Thread Pádraig Brady
On 08/09/2021 12:21, Jitender Kumar3 wrote: Hello, I want to download GNUCoreutils for AIX-5.2 OS but I am unable to find any setup file on official website. I have found one file but that is not compatible with AIX-5.2. That file is compatible for AIX-6.1. Please guide me on

Re: [PATCH 8/8] digest: add support for sm3

2021-09-08 Thread Pádraig Brady
On 08/09/2021 08:43, Tianjia Zhang wrote: Tested-by: Tianjia Zhang Added that, and also added you to THANKS.in. thanks! Pádraig

Coreutils for AIX5.2

2021-09-08 Thread Jitender Kumar3
Hello, I want to download GNUCoreutils for AIX-5.2 OS but I am unable to find any setup file on official website. I have found one file but that is not compatible with AIX-5.2. That file is compatible for AIX-6.1. Please guide me on this and if possible, then please share me the

Re: [PATCH 7/8] cksum: add --algorithm option to select digest mode

2021-09-08 Thread Pádraig Brady
On 08/09/2021 11:35, Jim Meyering wrote: On Tue, Sep 7, 2021 at 10:39 PM Pádraig Brady wrote: I need to add some NEWS for this one: diff --git a/NEWS b/NEWS index d9ab04529..7c245f1a6 100644 --- a/NEWS +++ b/NEWS @@ -88,6 +88,11 @@ GNU coreutils NEWS-*-

Re: [PATCH 7/8] cksum: add --algorithm option to select digest mode

2021-09-08 Thread Jim Meyering
Re this: +#if HASH_ALGO_CKSUM + /* TODO: Remove these restrictions. */ + switch (cksum_algorithm) +{ +case bsd: +case sysv: +case crc: +if (delim != '\n') + die (EXIT_FAILURE, 0, + _("--zero is not supported with --algorithm={bsd,sysv,crc}")); +

Re: [PATCH 7/8] cksum: add --algorithm option to select digest mode

2021-09-08 Thread Jim Meyering
On Tue, Sep 7, 2021 at 10:39 PM Pádraig Brady wrote: > I need to add some NEWS for this one: > > diff --git a/NEWS b/NEWS > index d9ab04529..7c245f1a6 100644 > --- a/NEWS > +++ b/NEWS > @@ -88,6 +88,11 @@ GNU coreutils NEWS-*- > outline -*- > > ** New

Re: Add support for cksum --algorithm [sm3]

2021-09-08 Thread Jim Meyering
On Tue, Sep 7, 2021 at 5:47 PM Pádraig Brady wrote: > This patch set refactors all digest implementations > to their own modules, all interfaced through digest.c. > All file operations and diagnostics are done in digest.c. > All digests are made available through `cksum -a`. > Also we add support

Re: [PATCH 8/8] digest: add support for sm3

2021-09-08 Thread Tianjia Zhang
Hi Pádraig, Great job, I did some tests and verifications on 'cksum -a sm3', if possible, please add: Tested-by: Tianjia Zhang Thanks again for your work. Best regards, Tianjia On 9/7/21 11:45 PM, Pádraig Brady wrote: Add message digest sm3, which uses the OSCCA SM3 secure hash (OSCCA

bug#50432: DF shows incorrect disk usage which include disk usage of a mounted path

2021-09-08 Thread Paul Eggert
On 9/8/21 12:02 AM, Paco Xu wrote: I use this workaround to add `--local` and `-x` flag for `df` to avoid the wrong calculation. I got the workaround fromhttps://github.com/moby/moby/issues/42823#issuecomment-913584814. Thanks for following up; closing the bug report.

bug#50432: DF shows incorrect disk usage which include disk usage of a mounted path

2021-09-08 Thread Paul Eggert
It sounds like df is reporting disk usage for the file system you're running your docker instance atop. In that case, there may be other uses of the file system, aside from the docker instance, which means df is reporting the correct numbers (and du is, too). The problem, if it is a problem,