Re: More Elegant udev rules
Nick Rout <[email protected]> Wed, 23 Nov 2011 10:51:51 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <CALmzFLZys1FfSJC3ePCffgpYQE9u4xRxNmNvwnhbiyY0PNh51Q@mail.gmail.com> |
On Wed, Nov 23, 2011 at 9:18 AM, Greg Stevenson <[email protected]> wrote: > Thanks Volker > > Udevadm isn't part of xenserver distribution but udevinfo is. I guess that > is the important utility to determine what combination of variables will > most uniquely define the devices I want to work with. > > I guess I'm after some combination that uniquely defines hard drives no > matter if they are SATA, PATA or pure SCSI with no concern for manufacturer > or model. > > I'm picking something like KERNEL=="[h,s]d[a-c]" within the rule would go > some way to achieving what I'm after given that in this instance the system > resides on dev/sdd. > Unfortunately that won't always be the case, and in a big system, many more > drives would be involved. I guess without the udev rules knowing where the > system resides there isn't a way of achieving this programmatically. > > I would have loved your way of reloading the udev rules below to have worked > on xenserver but unfortunately I continue to have to reboot each time to > check the result of my changes. > > Thanks for your help. You said in your first post: > I found the following udev rules on the citrix forums Have you been back to the author in the citrix forums? Please don't top post. _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug