From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932458AbbA0SJM (ORCPT ); Tue, 27 Jan 2015 13:09:12 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:65276 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759107AbbA0SJK (ORCPT ); Tue, 27 Jan 2015 13:09:10 -0500 Message-ID: <54C7D440.6000509@nod.at> Date: Tue, 27 Jan 2015 19:09:04 +0100 From: Richard Weinberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Alexander Holler , Arend van Spriel CC: Steven Rostedt , Borislav Petkov , linux-mmc@vger.kernel.org, LKML , Chris Ball , Ulf Hansson Subject: Re: [PATCH] mmc: print message if a card supports secure erase/trim References: <1422359304-30321-1-git-send-email-holler@ahsoftware.de> <54C77E69.7050600@ahsoftware.de> <20150127120855.GA9254@pd.tnic> <54C7816A.8050800@ahsoftware.de> <54C78524.3070901@nod.at> <54C7881F.6020501@ahsoftware.de> <20150127142120.GA3351@pd.tnic> <54C7C2EC.7010605@ahsoftware.de> <20150127172415.GC25043@home.goodmis.org> <54C7CD1C.1060601@ahsoftware.de> <54C7D08E.8030309@broadcom.com> <54C7D31D.6090109@ahsoftware.de> In-Reply-To: <54C7D31D.6090109@ahsoftware.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 27.01.2015 um 19:04 schrieb Alexander Holler: > Am 27.01.2015 um 18:53 schrieb Arend van Spriel: > >> Ever used rgrep or grep -R. Anyway, if this is you use-case what about >> the gazillion other pieces of info in the kernel. When moving in that >> direction you can be sure dmesg will flush out. > > Sorry, never heard about that -R and wasn't aware that the kernel does a lot of things. ;) > > I don't want that ftrace stuff appears in dmesg, but I like to do > > dmesg | grep -i mmc (or whatever is of interest) > > instead of > > grep -Rsi mmc /sys/ or something like > > find /sys -iname '*mmc*' -exec \; You don't have to use grep or find. Add a sysfs attribute, document it in Documentation/ABI and done. By documenting stuff you'll make the world a better place. Thanks, //richard