From: Paul Clements <paul.clements@steeleye.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH] mdadm: monitor event argument passing
Date: Mon, 03 Apr 2006 15:55:20 -0400 [thread overview]
Message-ID: <44317DA8.9040500@steeleye.com> (raw)
In-Reply-To: <17456.26958.388668.339215@cse.unsw.edu.au>
Neil Brown wrote:
> On Friday March 31, paul.clements@steeleye.com wrote:
>
>>I've been looking at the mdadm monitor, and thought it might be useful
>>if it allowed extra context information (in the form of command line
>>arguments) to be sent to the event program, so instead of just:
>>
>># mdadm -F /dev/md0 -p "md_event"
>>
>>you could do something like:
>>
>># mdadm -F /dev/md0 -p "md_event -i <some_info>"
>>
>>And the "-i <some_info>" will be passed on the command line to the event
>>program. Of course you can usually figure out what the extra context
>>should be in the event program itself, but it may take more work.
>
>
> I would recommend the use of environment variables for this:
>
> md_event_context=<some_info> mdadm -F /dev/md0 -p md_event
> Does that work for you?
Yes, that would work.
Thanks,
Paul
prev parent reply other threads:[~2006-04-03 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-31 18:43 [PATCH] mdadm: monitor event argument passing Paul Clements
2006-04-03 0:16 ` Neil Brown
2006-04-03 19:55 ` Paul Clements [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44317DA8.9040500@steeleye.com \
--to=paul.clements@steeleye.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.