Re: [PATCH] mmc: print message if a card supports secure erase/trim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/<a hundred tabs to search a matching direcory> or something like
> 
> find /sys -iname '*mmc*' -exec <more silly complications> \;

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
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux