[Nut-upsdev] /sbin/upsdrvctl unable to shutdown UPS ...

Daniel O'Connor doconnor at gsoft.com.au
Sat Aug 8 22:54:04 UTC 2009


On Sat, 8 Aug 2009, Alfred Ganz wrote:
> Charles,
>
> When sorting out the library problem for shutdown, please also keep
> in mind that the shutdown scripts (at least those that I have
> encountered so far) insist on unmounting /dev/usb. This requires that
> libusb does not rely on its presence to do the reconnection for the
> shutdown. I don't know if this is a part of the definition of the
> functionality of libusb and if it can safely be relied upon.

One option would be to use delayed shutdown and try and guess a good 
grace delay.

This is the way you need to do it in FreeBSD as the disks aren't 
remounted read only after shutdown.

In practise it works OK :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090809/2530e3bd/attachment.pgp>


More information about the Nut-upsdev mailing list