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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22E08C6FA82 for ; Tue, 13 Sep 2022 00:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229939AbiIMApp (ORCPT ); Mon, 12 Sep 2022 20:45:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbiIMApn (ORCPT ); Mon, 12 Sep 2022 20:45:43 -0400 Received: from kyoto-arc.or.jp (ns.kyoto-arc.or.jp [202.252.247.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 874FB50734 for ; Mon, 12 Sep 2022 17:45:42 -0700 (PDT) Received: from [192.168.2.41] ([202.252.247.10]:8725) by kyoto-arc.or.jp with [XMail ESMTP Server] id for from ; Tue, 13 Sep 2022 09:45:39 +0900 Mime-Version: 1.0 X-Sender: kengo@ms.kyoto-arc.or.jp X-Mailer: QUALCOMM MacOS Classic Eudora Version 6J Jr6 Message-Id: In-Reply-To: References: Date: Tue, 13 Sep 2022 09:43:58 +0900 To: linux-btrfs@vger.kernel.org From: "Kengo.M" Subject: Re: scrub results by email Content-Type: text/plain; charset="iso-2022-jp" ; format="flowed" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Hi Chris Thanks btrfs scrub start -B option do not background and print scrub statistics when finished btrfs scrub start -B /mnt/test.btrfs | mail -s "scrub result" foo@baa.com kengo At 02:10 +0200 2022.09.13, Christoph Anton Mitterer wrote: >On Tue, 2022-09-13 at 09:00 +0900, Kengo.M wrote: > > I would like to send results of btrfs scrub by email. >> How are you all doing? > >That's not really a btrfs specific question... but try using btrfs- >scrub’s -B option. > > >Cheers, >Chris.