On 2009-12-30 09:07, Pavel Mateja wrote:
>>>> One of these days I'll add some code to do that in mega{,sas}ctl, as
>>>> well as add an XML output mode so that various monitoring tasks become
>>>> easier, e.g. writing a simple SNMP agent.
>>> IMHO this should be done by udev.
>>> Create rule file like /etc/udev/rules.d/55-megadev.rules:
>>> KERNEL="megadev*" MODE="600"
>>> and run udevtrigger.
>> That's a fine idea, but the tools should still try to work on systems
>> where no one has done this.
>
> But you can make such file part of your package, can't you?
I think that would be a bit overzealous, personally. Not really my place
to muck with udev. Certainly could include it and recommend
installation. udevtrigger can do unexpected things. E.g. I just ran
udevtrigger on a system with 7 down interfaces and it brought them all
up with dhclient.
The safer course is simply to create the device node if it's not
present. This is what dellmgr used to do with older PERCs.
Maybe in a secondary RPM it would be okay, with appropriate caution.
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq