Le 01/05/2017 à 16:25, Anton Aylward a écrit :
On 01/05/17 09:44 AM, jdd@dodin.org wrote:
the most infos are from mdadm --detail /dev/md127, but where are these infos stored?
When I need to answer questions like that, and this is generic, not specific to this case, I start with
--help
did it, without founding what I seek for :-(
Then the man page. Yes, man pages are often badly written, but they also give clues. Often, at the end of the man page, there is a "FILES" section that mentions config files and others, as is the case here.
nope. mdadm.conf do not keep this info
Then, quite probably, I run the 'strings' command looking for any file references; probably that involves
strings <binary> | grep "/"
less is enough, then search with / but what may I search? there is lot of text in this binary.
In this case strings /sbin/mdadm | grep -e "/"
only gives me a > prompt? I didn't find the solution in the raid wiki neither (but I should have read it before) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org