[Nut-upsuser] USB UPS and FreeBSD

Daniel O'Connor doconnor at gsoft.com.au
Tue May 23 05:22:01 UTC 2006

On Tuesday 23 May 2006 13:33, Scott Tuc Ellentuch at T-B-O-H wrote:
> 	I'm using the ports... And there is the nut.sh, which I use. The
> problem is that you are also supposed to put in the "upsdrvctl shutdown" at
> some point where the filesystems are mounted read only so you don't get
> file corruption.

I don't believe there is any point in the shutdown process where the disks are 
unmounted but userland is running. AFAIK the kernel does the unmounting just 
before the shutdown.

> > Make sure you have a shutdown gracedelay though - FreeBSD doesn't run any
> > scripts after the disks are unmounted so you must start the UPS shutdown
> > phase before the disks are unmounted, hence the need for a grace delay.
> 	Where is this set then, no one else has mentioned it.

Depends on your UPS. HID UPSs have a standard way and you should be able to 
put "offdelay=120" in the section for your UPS in ups.conf.

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: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060523/14dc3168/attachment.pgp

More information about the Nut-upsuser mailing list