Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7534658rdb; Wed, 3 Jan 2024 22:07:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7CPXxlDTgtw3yAmiKP9GytaJUgnCXu3R6eHDlcSoi8sE89qQlp8uI6AOmThWL6g9waGvc X-Received: by 2002:a17:903:2305:b0:1d4:ae22:e937 with SMTP id d5-20020a170903230500b001d4ae22e937mr99691plh.0.1704348463484; Wed, 03 Jan 2024 22:07:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704348463; cv=none; d=google.com; s=arc-20160816; b=eP6qqrTFl6q+/v3sS6uso1yrciMSQ622PcXHz0h4AAV0UNfLmxH6mXEromq0cpvBLf cNVnJf3GFKoUHyjHGsxTpkr9tYXUnPl1IiDq37bHKYXnI9Gy8YHhDhsuTLXiYe6bBuPk t83dXL2dGUsF9r+e9vpvKv2KMFqosgxONsOv2O9mRpuk3WC+QKqvO80PZAmNyCMnALw1 ZAnhSx7pA3/C8RyMF4lH/rOlfkurgwzxEdIMr+m+6UZd+q1VI35XuTBs4zhTyth8n2PS NW+CbQLUesZ5rI1S6nYK5z+Ye1FujUOvQj2Sg2f9raFyiPHX2RLR6KGgwSDdviqQDn9z rVCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=XzkM14bUvWBneJ4PcTPU9fRSFWTidhoVTGpxL68Hv+E=; fh=D2nNfTtU4VhQb9HbNgnFbtdrZLOKSvxPOAzyj9JC4i4=; b=oNC7mGsKDerTlzM2d9hmyTesA96x8V3HEuT0UoPfBe+OiFzgwWR6cO63BdXBxEwBaT YNaEfIoFV4spnCBH/w/s/zv8dC3CN8ebGwr4xyL/PcVEqZ7KhMuTdi+2mlisPy9/x+IS x+xPmQiDWY6kwGiVq3F2pOBRSszE8HhrVQ1Bhc19SsM5CI4wLQHevfuFDOqd2EZPWz84 F0vqvFgKJoOT/yt5zcBm7zd9f06H6kd5pmbgv/5+LXtPyhFW5jhFFtX6GBFyOKM0CN7a oQIwErwpnoMwwK+I8UazRIU8wXKPQbpySmTMHzOpj8n9mQErSiT09fcMajg/y83PENre T6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Mwb4AltP; spf=pass (google.com: domain of linux-kernel+bounces-16276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ja17-20020a170902efd100b001d4dddcd389si395785plb.528.2024.01.03.22.07.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 22:07:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Mwb4AltP; spf=pass (google.com: domain of linux-kernel+bounces-16276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 23E3F287D0B for ; Thu, 4 Jan 2024 06:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B2A51D699; Thu, 4 Jan 2024 06:07:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Mwb4AltP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB0C41BDDB; Thu, 4 Jan 2024 06:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-5e78d948551so490247b3.0; Wed, 03 Jan 2024 22:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704348442; x=1704953242; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XzkM14bUvWBneJ4PcTPU9fRSFWTidhoVTGpxL68Hv+E=; b=Mwb4AltPbtDJv8IAl2VdmDvZRPXZAab3Qw7hMErmOOADJqVbce0x4GUlrqYxnKcOrh gGlt/zRRJ+I3JC/1h1Pyn0TqkCXAGNOxi1FtsC41S4rQZ6ZbYOnY6+48r6q8uKF6LRmP UxlSN334EjYxgZRUvlQqU3elWx9uvfHWEenRvE61/uKOyV4hdy1HPj0ZnAvLDR4LPBkN fICE6b3Y8IOV5gGKzs2G/gJllxqIZ3XNZQW821Gd8bAQLO8oyDDAFaI9fcR9P2UN3D34 l2t/sPre8ErcKT11AyUdBsZCgUW2ttmemAtfYw4Rpw0xMgkfkB6kRlv0OMAdXBcsOfGU v2Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704348442; x=1704953242; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XzkM14bUvWBneJ4PcTPU9fRSFWTidhoVTGpxL68Hv+E=; b=jfd8kWtWC58c5GF+ZvkSAWxSUqPci/mW4cMGjjr4ufsathYEnA1rKHwPAkX6hmE73G JsmHDx+QOHUf6zcEPIjvb1bYpx5IDpfiI1wggWflWmYCTaeTHf9iynQzmt1E3WFXXWP+ CWPHFM5jPEe5juHLN496owIsLFojepMyAgYtLj4g+BEaqZCR8VS0cYJykstY1J3hy15R haSbv1D9zi7Z+IPwaq0/INPQhJNTimu7GLI3UuISIIHjd2yaloOmixnbv3KRkJ9zMPiL Fszd9lnd/FnZUlaEQ07npEfkYgLU361NXuNhKKrDXPghvgiVxl+SoAoaIudt7kj/Soax cxoQ== X-Gm-Message-State: AOJu0YzhOjf5SkhrEgX3EZHPLLSIEAOmtuKacWwtGVis42fDNFw1Mb8R eMQq4l5OZ9hbCKoVjDIDm+EFB1+OF4vmrxJO8H8ZNhGJdYrPFQ== X-Received: by 2002:a25:d24d:0:b0:dbd:522c:32aa with SMTP id j74-20020a25d24d000000b00dbd522c32aamr140651ybg.5.1704348441758; Wed, 03 Jan 2024 22:07:21 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <0879141d-462c-7e94-7c87-7a5b5422b8ed@landley.net> In-Reply-To: From: Askar Safin Date: Thu, 4 Jan 2024 09:06:45 +0300 Message-ID: Subject: Re: [PATCH v3] rootfs: Fix support for rootfstype= when root= is given To: Rob Landley Cc: Stefan Berger , gregkh@linuxfoundation.org, initramfs@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, zohar@linux.ibm.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 30, 2023 at 8:01=E2=80=AFPM Rob Landley wrote= : > I've been following the initramfs xattr support threads forever: Here is my proposal: add to the kernel support for catar ( https://0pointer.net/blog/casync-a-tool-for-distributing-file-system-images= .html ) in addition to cpio. catar has the following advantages: - catar is simple and reproducible. For the same directory tree the same bit-precise catar file is generated, which is good for cryptographic signatures. As opposed to tar's monstrosity ( https://www.cyphar.com/blog/post/20190121-ociv2-images-i-tar ) - catar has support for xattr. It has support for nearly all types of metainformation Linux offers (32 bit UIDs, nanosecond timestamps, "disable CoW" flag and various other flags, selinux file labels, file capabilities, etc). All this metainformation can be disabled if needed. So, next time we will want to add some new type of metainformation, there will be no need for lengthy discussions about how it should be stored. All needed metainformation is already supported -- Askar Safin