freebsd-skq/etc/devd
Sepherosa Ziehau 168fce73b5 hyperv/vss: Add driver and tools for VSS
VSS stands for "Volume Shadow Copy Service".  Unlike virtual machine
snapshot, it only takes snapshot for the virtual disks, so both
filesystem and applications have to aware of it, and cooperate the
whole VSS process.

This driver exposes two device files to the userland:

    /dev/hv_fsvss_dev

    Normally userland programs should _not_ mess with this device file.
    It is currently used by the hv_vss_daemon(8), which freezes and
    thaws the filesystem.  NOTE: currently only UFS is supported, if
    the system mounts _any_ other filesystems, the hv_vss_daemon(8)
    will veto the VSS process.

    If hv_vss_daemon(8) was disabled, then this device file must be
    opened, and proper ioctls must be issued to keep the VSS working.

    /dev/hv_appvss_dev

    Userland application can opened this device file to receive the
    VSS freeze notification, hold the VSS for a while (mainly to flush
    application data to filesystem), release the VSS process, and
    receive the VSS thaw notification i.e. applications can run again.

    The VSS will still work, even if this device file is not opened.
    However, only filesystem consistency is promised, if this device
    file is not opened or is not operated properly.

hv_vss_daemon(8) is started by devd(8) by default.  It can be disabled
by editting /etc/devd/hyperv.conf.

Submitted by:	Hongjiang Zhang <honzhan microsoft com>
Reviewed by:	kib, mckusick
MFC after:	3 weeks
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8224
2016-11-15 02:36:12 +00:00
..
apple.conf Missed a terminating ';'. 2014-11-18 16:31:00 +00:00
asus.conf
hyperv.conf hyperv/vss: Add driver and tools for VSS 2016-11-15 02:36:12 +00:00
Makefile Fix etcupdate(8) with rc.sendmail and devd/*. It turns out 2016-04-17 03:45:45 +00:00
uath.conf The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from the 2011-06-26 11:37:24 +00:00
ulpt.conf Add example devd configuration file for USB printers. 2014-10-09 13:58:19 +00:00
usb.conf Add preliminary support for the RTL8153. 2016-10-31 05:58:11 +00:00
zfs.conf move devd rules for zfs events into a separate file and fix stale event types 2014-02-14 15:31:48 +00:00