From: "Štefan Sakalík" <rabbit6440@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Disabling device
Date: Thu, 11 Apr 2013 16:16:08 +0000 [thread overview]
Message-ID: <5166E1C8.60105@gmail.com> (raw)
Hello,
I want to tell udev in RHEL6 _not_ to create a hard drive device in
/dev/ identified by (for example) serial number. I see two problems:
1. AFAIK it is not possible to disable device creation in udev/rules.d/
2. It is not possible to identify device by serial number in udev. When
I run: udevadm info -a -p $(udevadm info -q path -n /dev/sdak)
, it does not show me serial or other identifying information.
I need to get rid of this device because I'm sharing one disk array
between two servers and both of them see all devices in the array.
I want to make sure the two servers are not accessing the drives
simultaneously.
-Stefan
next reply other threads:[~2013-04-11 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 16:16 Štefan Sakalík [this message]
2013-04-11 16:46 ` Disabling device Greg KH
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=5166E1C8.60105@gmail.com \
--to=rabbit6440@gmail.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 read-only IMAP folder(s) and NNTP newsgroup(s).