note that puffs_daemon() must be called *before* puffs_mount()

This commit is contained in:
pooka 2008-11-14 13:27:24 +00:00
parent c5122072aa
commit 462f2a64a0

View File

@ -1,4 +1,4 @@
.\" $NetBSD: puffs.3,v 1.43 2008/11/14 13:10:13 pooka Exp $
.\" $NetBSD: puffs.3,v 1.44 2008/11/14 13:27:24 pooka Exp $
.\"
.\" Copyright (c) 2006, 2007, 2008 Antti Kantee. All rights reserved.
.\"
@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd September 6, 2008
.Dd November 14, 2008
.Dt PUFFS 3
.Os
.Sh NAME
@ -430,6 +430,9 @@ This call synchronizes with
.Fn puffs_mount
and the foreground process does not exit before the file system mount
call has returned from the kernel.
Since this routine internally calls fork, it has to be called
.Em before
.Fn puffs_mount .
.It Fn puffs_mainloop pu flags
Handle all requests automatically until the file system is unmounted.
It returns 0 if the file system was successfully unmounted or \-1 if it