From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752089AbeAZVDA (ORCPT ); Fri, 26 Jan 2018 16:03:00 -0500 Received: from rcdn-iport-7.cisco.com ([173.37.86.78]:49744 "EHLO rcdn-iport-7.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbeAZVC6 (ORCPT ); Fri, 26 Jan 2018 16:02:58 -0500 X-IronPort-AV: E=Sophos;i="5.46,418,1511827200"; d="scan'208";a="346497617" Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 To: "H. Peter Anvin" , Al Viro , Arnd Bergmann , James McMechan , Jonathan Corbet , Mimi Zohar , Rob Landley From: Taras Kondratiuk In-Reply-To: Cc: initramfs@vger.kernel.org, Victor Kamensky , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, xe-linux-external@cisco.com References: <1516850875-25066-1-git-send-email-takondra@cisco.com> <1516850875-25066-2-git-send-email-takondra@cisco.com> Message-ID: <151700057225.21956.4502484965110175077@takondra-t460s> User-Agent: alot/0.6 Subject: Re: [PATCH v2 01/15] Documentation: add newcx initramfs format description Date: Fri, 26 Jan 2018 13:02:52 -0800 X-Auto-Response-Suppress: DR, OOF, AutoReply Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w0QL328X031130 Quoting Rob Landley (2018-01-25 18:40:54) > On 01/24/2018 09:27 PM, Taras Kondratiuk wrote: > > diff --git a/Documentation/early-userspace/buffer-format.txt b/Documentation/early-userspace/buffer-format.txt > > index e1fd7f9dad16..d818df4f72dc 100644 > > --- a/Documentation/early-userspace/buffer-format.txt > > +++ b/Documentation/early-userspace/buffer-format.txt > > > +compressed and/or uncompressed cpio archives; arbitrary amounts > > +zero bytes (for padding) can be added between members. > > Missing "of" between amounts and zero. (Yeah it was in the original, but > if you're touching it anyway...) > > > +c_xattrs_size 8 bytes Size of xattrs field > > + > > +Most of the fields match cpio_newc_header except c_mtime that contains > > +microseconds. c_chksum field is dropped. > > + > > +xattr_size is a total size of xattr_entry including 8 bytes of > > +xattr_size. xattr_size has the same hexadecimal ASCII encoding as other > > +fields of cpio header. > > xattrs_size or xattr_size? > > Total nitpicks, I know. :) xattr_size here refers to size of each xattr_entry: xattr_entry := xattr_size[8] + xattr_name + "\0" + xattr_value I'll move this paragraph closer to that line.