Re: [vserver] smartest USB UPS setup with vserver and nut?

From: Michael S. Zick <mszick_at_morethan.org>
Date: Mon 12 Nov 2007 - 13:42:28 GMT
Message-Id: <200711120742.30700.mszick@morethan.org>

On Mon November 12 2007 07:33, Jon Bendtsen wrote:
> Hi
>
> I have 3 UPS'es and only one serial port in my machine. Luckily 2
> of the UPS'ses support a USB connection. I use nut
> http://www.networkupstools.org/
> to monitor the UPS'ses.
>
> The single serial port is no problem getting to work. It's harder with
> the USB ones. How do i smartest get these to work inside a vserver
> guest?
>
> If i only knew what device to make inside the guests /dev structure,
> but isnt one of the problems with USB that they can change the name?
>

The udev (or older hotplug) runs on the host, look up the rule for that
device in the rules in you distribution - change them to write to the
correct */dev (host view) directory.
Most distributions have the rules structured so you can add a custom
rule rather than alter the default rules.

Mike
>
>
> JonB
>
>
Received on Mon Nov 12 13:42:50 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 12 Nov 2007 - 13:42:56 GMT by hypermail 2.1.8