Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5748553ybi; Tue, 4 Jun 2019 11:28:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkqa+xHCVClWUNgKm7BKA57njfftgbOvCGZVpU4hLNH8IKcXe8oixJ13xxhSdrwgUoknxh X-Received: by 2002:a63:1d5c:: with SMTP id d28mr68819pgm.10.1559672937994; Tue, 04 Jun 2019 11:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559672937; cv=none; d=google.com; s=arc-20160816; b=EsDAogTA9EVjqN7zQPZ23z2qPXcwHlttiVKCaOMtdXjZOjPxtWNwHW15CU5KFUF+v5 4tl2NBg8HQdGugMbtclg2KP5jju3/fJiXcvuH4DQKsr1ilVQqOaGtWu5mYElQ1IPkMYc xiC3t9XVR6g7rjiayEFBs8efVAYos+glvKqGzuvYUEmxfpeaajUAxb18a5iDWtuiG/Iy JSTalJ+kAxsyX9KbabCs0kkz6z/flXcCgxEOgnQNzrCVf09QpP/EyU5hKHsNQQrr0SXu I49exi/54re5/NROT6GtNhgcTdVvZ7At2+jOOxM0cSgWh43gMX8w7vBAd1SHRx+He8Fo 6YBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=KNsXSbzbGZjgE3wGm4PwFPXs0APKMa6j9Y04M73PMXU=; b=iTWC4tPEOX+0w8AbLbjvsg+I3AO1rtbYQ+LwWGtDfvv/BR62rRURPLXZY61SDmAHlx m+NfZnsaP167YlajgDZnHvwNty2w2AxFyVVfRZA/AJxGhAiTiAPKZ8u14EefpZFZ5s9E rUzG4i2TWHrPF7j7QwMT1EO5gOUdr97eqcpoEOIXvDcxXZF6FICA0DO0ttwic0CJR8dM X3nCTZm98/d764DKdefXFMMDhFV69gbQJvQJVpCSgc9hMism/cN9LN33WIxBDKMcsBXs fdgEHkgwZnCJDkR37hjxJzS20BYdUPZ+P8Yqra1ysZYKlAYiH9+lihcFzPlM8I+NvYKx Tjjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14si9672504pgm.401.2019.06.04.11.28.40; Tue, 04 Jun 2019 11:28:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbfFDS1d (ORCPT + 99 others); Tue, 4 Jun 2019 14:27:33 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43914 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfFDS1d (ORCPT ); Tue, 4 Jun 2019 14:27:33 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 6F0C326B37F From: Helen Koike To: dm-devel@redhat.com, swboyd@chromium.org Cc: wad@chromium.org, keescook@chromium.org, snitzer@redhat.com, linux-doc@vger.kernel.org, richard.weinberger@gmail.com, linux-kernel@vger.kernel.org, linux-lvm@redhat.com, enric.balletbo@collabora.com, kernel@collabora.com, agk@redhat.com, Helen Koike , Jonathan Corbet Subject: [PATCH] Documentation/dm-init: fix multi device example Date: Tue, 4 Jun 2019 15:27:19 -0300 Message-Id: <20190604182719.15944-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The example in the docs regarding multiple device-mappers is invalid (it has a wrong number of arguments), it's a left over from previous versions of the patch. Replace the example with an valid and tested one. Signed-off-by: Helen Koike --- Documentation/device-mapper/dm-init.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/device-mapper/dm-init.txt b/Documentation/device-mapper/dm-init.txt index 8464ee7c01b8..130b3c3679c5 100644 --- a/Documentation/device-mapper/dm-init.txt +++ b/Documentation/device-mapper/dm-init.txt @@ -74,13 +74,13 @@ this target to /dev/mapper/lroot (depending on the rules). No uuid was assigned. An example of multiple device-mappers, with the dm-mod.create="..." contents is shown here split on multiple lines for readability: - vroot,,,ro, - 0 1740800 verity 254:0 254:0 1740800 sha1 - 76e9be054b15884a9fa85973e9cb274c93afadb6 - 5b3549d54d6c7a3837b9b81ed72e49463a64c03680c47835bef94d768e5646fe; - vram,,,rw, - 0 32768 linear 1:0 0, - 32768 32768 linear 1:1 0 + dm-linear,,1,rw, + 0 32768 linear 8:1 0, + 32768 1024000 linear 8:2 0; + dm-verity,,3,ro, + 0 1638400 verity 1 /dev/sdc1 /dev/sdc2 4096 4096 204800 1 sha256 + ac87db56303c9c1da433d7209b5a6ef3e4779df141200cbd7c157dcb8dd89c42 + 5ebfe87f7df3235b80a117ebc4078e44f55045487ad4a96581d1adb564615b51 Other examples (per target): -- 2.20.1