linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: linux-hotplug@vger.kernel.org
Subject: Manipulating udevdb attributes
Date: Mon, 06 Aug 2007 20:37:05 +0000	[thread overview]
Message-ID: <46B78671.5000807@cfl.rr.com> (raw)

Currently the udev rules while acting on an event for a device can look 
at and modify environment variables associated with that device.  The 
admin can use udevinfo to query this information, but is there any way 
to MODIFY it?  If not, how hard would adding a tool be that can 
arbitrarily modify values in the udevdb?

I ask because I am trying to fix the system to perform autodetection and 
mounting on synthetic devices from device-mapper and md, but they need 
to not mess with certain devices, such as snapshot devices, and other 
internal devices.  I was hoping to do this using a udevdb attribute that 
can be set on devices that are meant for export, and only automount 
devices marked as such.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2007-08-06 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46B78671.5000807@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=linux-hotplug@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).