linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disabling device
@ 2013-04-11 16:16 Štefan Sakalík
  2013-04-11 16:46 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Štefan Sakalík @ 2013-04-11 16:16 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-11 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 16:16 Disabling device Štefan Sakalík
2013-04-11 16:46 ` Greg KH

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).