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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EAA1C433EF for ; Sun, 30 Jan 2022 02:46:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A38986B0071; Sat, 29 Jan 2022 21:46:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9E6B36B0072; Sat, 29 Jan 2022 21:46:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8AE8B6B0074; Sat, 29 Jan 2022 21:46:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0181.hostedemail.com [216.40.44.181]) by kanga.kvack.org (Postfix) with ESMTP id 7B7CC6B0071 for ; Sat, 29 Jan 2022 21:46:26 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2EB10978FB for ; Sun, 30 Jan 2022 02:46:26 +0000 (UTC) X-FDA: 79085414772.28.BB23B17 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf24.hostedemail.com (Postfix) with ESMTP id A02FF180004 for ; Sun, 30 Jan 2022 02:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643510784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pcOcmEb5ngGy0dZAQ9mUDW+ZAjVj+zk/0lR2PgFjLiE=; b=gPsznop4hfHjdPSW4F4oddlWCmv/ypLD1fR/U3iwn66zqMtzD7oB3RD0ieRZGy/452AvXT PIHjVoflsTDN+UnyPd55usMlMxM2jhWG9WqFRBzyu+9dYDYZv7QLZxYHujLQ4l89tSwNKJ 3QLnRhVz9Ds8Zw6iZMmjRRS5rwVks1k= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-43-_VSw3NT0NqiU6JSdBclvyA-1; Sat, 29 Jan 2022 21:46:23 -0500 X-MC-Unique: _VSw3NT0NqiU6JSdBclvyA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E504E1F243; Sun, 30 Jan 2022 02:46:21 +0000 (UTC) Received: from localhost (ovpn-12-238.pek2.redhat.com [10.72.12.238]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1C83412E34; Sun, 30 Jan 2022 02:46:20 +0000 (UTC) Date: Sun, 30 Jan 2022 10:46:17 +0800 From: Baoquan He To: Tiezhu Yang Cc: Jonathan Corbet , Andrew Morton , Peter Zijlstra , Marco Elver , kexec@lists.infradead.org, linux-doc@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] docs: kdump: add scp sample to write out the dump file Message-ID: <20220130024617.GB29425@MiWiFi-R3L-srv> References: <1643370145-26831-1-git-send-email-yangtiezhu@loongson.cn> <1643370145-26831-3-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643370145-26831-3-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Rspam-User: nil X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: A02FF180004 X-Stat-Signature: whuczne8icasisk17y3ercp8oc49c7w3 Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=gPsznop4; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf24.hostedemail.com: domain of bhe@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=bhe@redhat.com X-HE-Tag: 1643510785-769527 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 01/28/22 at 07:42pm, Tiezhu Yang wrote: > Except cp and makedumpfile, add scp sample to write out the dump file. ~~~~~~? You mean example? I think we just give example here, but not list all cases. seems adding scp is nothing bad. Anyway, except of the concern for 'sample': Acked-by: Baoquan He > > Signed-off-by: Tiezhu Yang > --- > Documentation/admin-guide/kdump/kdump.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/admin-guide/kdump/kdump.rst b/Documentation/admin-guide/kdump/kdump.rst > index d187df2..a748e7e 100644 > --- a/Documentation/admin-guide/kdump/kdump.rst > +++ b/Documentation/admin-guide/kdump/kdump.rst > @@ -533,6 +533,10 @@ the following command:: > > cp /proc/vmcore > > +or use scp to write out the dump file between hosts on a network, e.g:: > + > + scp /proc/vmcore remote_username@remote_ip: > + > You can also use makedumpfile utility to write out the dump file > with specified options to filter out unwanted contents, e.g:: > > -- > 2.1.0 >