Can carp(4) run daemons or scripts?

Vincent Hoffman vince at
Wed Aug 24 09:23:54 UTC 2011

On 24/08/2011 05:39, Pavel Timofeev wrote:
> Big thanks! I'll stop on carp and devd!
> I think such example (from your link) must be in handbook. Because it's good
> native solution from base system.
> Or at least link from carp section to devd section.
> Who do I need to write with this idea?

Too late :)
I should have looked here first but i just did a quick Google.

You could suggest on
freebsd-doc<>@ to
have a  link from the carp section though.

> 2011/8/23 Vincent Hoffman <vince at>
>> On 23/08/2011 17:21, Pavel Timofeev wrote:
>>> Oh, thank you very much!
>>> I didn't know about ifstated. I'll try it.
>>>> Also may be with devd
>>> How? What do you mean?
>> devd is the freebsd device state change daemon, it will track device
>> state changes and you can tell it to act on them.
>> A quick google for devd and carp gives
>> which looks like it covers the kind of thing you want.
>> Vince
>>> 2011/8/23 Patrick Lamaiziere <patfbsd at>
>>>> Le Tue, 23 Aug 2011 17:50:43 +0400,
>>>> Pavel Timofeev <timp87 at> a écrit :
>>>> Hello,
>>>>> Can carp(4) run daemons or scripts when backup server come into the
>>>>> work? As I know ucarp and heartbeat can do this.
>>>> No, carp only works at the interface level. In ports you will find
>>>> ifstated(8) (from OpenBSD). It can react to a change on an
>>>> interface and run tests.
>>>> Also may be with devd, but imo ifstated will do the trick.
>>>> Regards.
>>> _______________________________________________
>>> freebsd-questions at mailing list
>>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at"
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list