Re: [Toybox] [PATCH] cpio: Implement -u (copy unconditionally)

2021-02-28 Thread Yi-yo Chiang via Toybox
(I kind of dozed off... so break off some questions / answers to another mail) On Sun, Feb 28, 2021 at 6:41 PM Rob Landley wrote: > On 2/27/21 10:18 AM, Yi-yo Chiang wrote: > > Do we want toybox cpio/tar to be feature-identical to GNU or Solaris' > > implementation? (I hope not, cause that feels

Re: [Toybox] [PATCH] cpio: Implement -u (copy unconditionally)

2021-02-28 Thread Yi-yo Chiang via Toybox
(I'll try to keep it short) My original motivation to send this patch is that my coworker found out (when he was working with initramfs) that "cpio -u" behaves differently on toybox compared to the GNU's implementation. (my original email, in case it was flagged as spam...: http://lists.landley.ne

Re: [Toybox] [PATCH] cpio: Implement -u (copy unconditionally)

2021-02-28 Thread Rob Landley
On 2/27/21 10:18 AM, Yi-yo Chiang wrote: > Using different command to create the archive yields different result, I used > $ > find dir | cpio -o ... to create the archive for testing: > > (testing the behavior of GNU cpio) > $ mkdir a > $ echo blah > a/bb > $ find a | cpio -H newc -o >a.cpio > $