From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CACE4E77197 for ; Thu, 9 Jan 2025 12:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ozlabs.org; s=201707; t=1736427381; bh=p9c2PdK2CzOA/8sbI0/GcwW68L6cPEml+Xfh4wWkQe0=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=AVRp8uEEKXmHqEoWVtbRKzqfwm37UHweEbvo+yvpXr+7EuVdjC66k/QPm/0nQJXxF M4s/V6tnty/yhOu+gnkvtxqOpJvzhF9HYScEgDu4gKsmUdbDMqR3I9UGLxelqq61ZH V2yB664tVwWpGfC3ITWZk/DtD64/tOoZjOMRNigcUMSnr+r22AGHOvmUv8kfpnkj98 8OV0GMfrzbBlabDwYNCtR4CuXh0BpQMXNCjBgoE68FCFlkSwcPObw5ju+OJjSto+Yi fo/J6YkSelWjzi2oPqABpr/zyRAIIkHysLJXiFvWAbYtnsOdWghVpVCxcyUCKejept FrT4w6KLvyxDw== Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4YTPtF0DSNz3c3x for ; Thu, 9 Jan 2025 23:56:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2604:1380:4641:c500::1" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1736427378; cv=none; b=AyASZJLcSaQjNUixGWzZfQa7dxT3rnNjPqGSUn7Dq7BloWjxrRnXtUBd/ksUZ4QUikfHNHFJe/Dies7Y4ztuFlBUMNDA81l+RbrUCEmTY8bVJTwiYdHIH5wHaluVQKs2uhPMLKP3M3yn450u1DpZiE49Zyd68kPI+PHJnXapcI8wjLJiw4WaNEkuARtvyzDtYrCLXqXYFM15mV+E98E/PEfpZTuEhwlmAGVHsyxb+BzzW+ZUaLd8tNUi9uefNQ2obT3c7dN2kz4tfSslE4qXL0wYKck9P0/qONXbmHa2rVMV9+wjn+W6JTiZ0pQUuZlNw9CnkM/PL9poOpWHsbB9aQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1736427378; c=relaxed/relaxed; bh=p9c2PdK2CzOA/8sbI0/GcwW68L6cPEml+Xfh4wWkQe0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oMtQ6sb8NFm+IFqvGdbSveQKOU3uDd7OrmJM7OZxDTNuGM2cVOuQVjKMyymb5KCIG1z+UnzNuwKdVVlnyyBQvani3r2krbMfLKM063WG2Q7N2/7eV7HgT6eDxsz+p2OHipP84455MOduBCyjzZA3WBEonaVCkIiX3EGdjQgOlzZARpY1IB12Ll0n+2+NLmD/BjcvSw0nFX5EhKvXatkzgh4nwIL7efIzZxX3g/r9DqTw8tjJjg4wYJnYbZb0ItT0hCL1vN3DKr57SSBIsfDLskDKcgOFLZu5wUY45DEzUqX+aVXxqfRb4IuvB7wBi6VlACel+zjmvrhw/V9LSBBsqA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ACJ5kVH+; dkim-atps=neutral; spf=pass (client-ip=2604:1380:4641:c500::1; helo=dfw.source.kernel.org; envelope-from=xiang@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=ACJ5kVH+; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:4641:c500::1; helo=dfw.source.kernel.org; envelope-from=xiang@kernel.org; receiver=lists.ozlabs.org) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4YTPt85bDNz3bNm for ; Thu, 9 Jan 2025 23:56:16 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E78E65C585B; Thu, 9 Jan 2025 12:55:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FBD5C4CED2; Thu, 9 Jan 2025 12:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736427372; bh=68mdL5BCy26tL+s6tDRSfJEh/nwxVuNqgvej561MHr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ACJ5kVH+VqxxybRnpHVUTMTZzAMtfEPNhqqJwVul16g2+STEOOQmhPiuuVwsLGK+n 49TEsCcMDryVHoCTyCOo14hsb7GjH+KpnoNuO1w7ZfEqD3IxoPjmmsQ31PsKF4cQXn sIPxhmD8AwO6KCguglVjNtWRSNU+Cjmkf5Au3wWlVh4CZ8GzMgy1aQ/iInES3zM+dw IiOoomSZZ9vgRGbQwDWxj8Q/uXsdjcYprrEMgVxUZGigTkwipDn4c45PY+6afyjUsS ogJD0lfiJ4zAluggCrFkmZTyI3TY44HNVSlZwSfoYTQFjVjGOhGJw45L+o2h7Ev3t8 yJCaIica8+zCA== Date: Thu, 9 Jan 2025 20:56:08 +0800 To: Juan Hernandez Subject: Re: [PATCH] erofs-utils: dump: Add --cat flag to show file contents Message-ID: Mail-Followup-To: Juan Hernandez , linux-erofs@lists.ozlabs.org References: <20250109105611.178398-1-jhernand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250109105611.178398-1-jhernand@redhat.com> X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Gao Xiang via Linux-erofs Reply-To: Gao Xiang Cc: linux-erofs@lists.ozlabs.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On Thu, Jan 09, 2025 at 11:56:11AM +0100, Juan Hernandez wrote: > This patch adds a new '--cat' flag to the 'dump.erofs' command. When > used it will write to the standard output the content of the file > indicated by the '--path' or '--nid' options. For example, if there is a > '/mydir/myfile.txt' file containg the text 'mytext': > > $ dump.erofs --cat --path=/mydir/myfile.txt myimage.erofs > mytext > > Signed-off-by: Juan Hernandez Thanks! Applied now for testing. Thanks, Gao Xiang