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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
