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

Attachment: pgpxx246AJg6t.pgp
Description: PGP signature

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to