]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Document the VFS FS events
authorWarner Losh <imp@FreeBSD.org>
Wed, 19 Aug 2020 17:10:09 +0000 (17:10 +0000)
committerWarner Losh <imp@FreeBSD.org>
Wed, 19 Aug 2020 17:10:09 +0000 (17:10 +0000)
commit350711aa85144b621cb857a166e76d8dc595c086
tree1d115681a79adb7ee0f0345a067a6b069e488433
parent8ef773d1b4236ed3da368f9c91d15c5325d2e735
Document the VFS FS events

MOUNT notifies when a filesystem is mounted
REMOUNT notifies when a filesystem is mounted again
UNMOUNT notifies when a filesystem is unmounted

These events are asynchronous to the actual state of the event (though the data
is recorded at a time when it is stable). The mount event is reported after the
filesystem is mounted. However, in the interim it may be unmounted by another
agent. Likewise, umount is called just before the mountpoint is finished tearing
down. It may be remounted (or maybe if the process scheduling is wonky and devd
gets to run before the last few steps are complete).

Sponsored by: Netflix
Diffential Revision: https://reviews.freebsd.org/D25969
sbin/devd/devd.conf.5