note that puffs_daemon() must be called *before* puffs_mount()
This commit is contained in:
parent
c5122072aa
commit
462f2a64a0
@ -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.
|
.\" 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
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd September 6, 2008
|
.Dd November 14, 2008
|
||||||
.Dt PUFFS 3
|
.Dt PUFFS 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -430,6 +430,9 @@ This call synchronizes with
|
|||||||
.Fn puffs_mount
|
.Fn puffs_mount
|
||||||
and the foreground process does not exit before the file system mount
|
and the foreground process does not exit before the file system mount
|
||||||
call has returned from the kernel.
|
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
|
.It Fn puffs_mainloop pu flags
|
||||||
Handle all requests automatically until the file system is unmounted.
|
Handle all requests automatically until the file system is unmounted.
|
||||||
It returns 0 if the file system was successfully unmounted or \-1 if it
|
It returns 0 if the file system was successfully unmounted or \-1 if it
|
||||||
|
Loading…
Reference in New Issue
Block a user