Date: Thu, 20 May 2010 09:41:13 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r208346 - stable/8/share/man/man9 Message-ID: <201005200941.o4K9fDlc056039@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu May 20 09:41:13 2010 New Revision: 208346 URL: http://svn.freebsd.org/changeset/base/208346 Log: MFC r207730: Document MAKEDEV_NOWAIT flag for make_dev_credf(9). Modified: stable/8/share/man/man9/make_dev.9 Directory Properties: stable/8/share/man/man9/ (props changed) Modified: stable/8/share/man/man9/make_dev.9 ============================================================================== --- stable/8/share/man/man9/make_dev.9 Thu May 20 09:39:01 2010 (r208345) +++ stable/8/share/man/man9/make_dev.9 Thu May 20 09:41:13 2010 (r208346) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 28, 2008 +.Dd May 6, 2010 .Os .Dt MAKE_DEV 9 .Sh NAME @@ -133,9 +133,18 @@ The following values are currently accep .Pp .Bd -literal -offset indent -compact MAKEDEV_REF reference the created device +MAKEDEV_NOWAIT do not sleep, may return NULL +MAKEDEV_WAITOK allow the function to sleep to satisfy malloc .Ed .Pp The +.Dv MAKEDEV_WAITOK +flag is assumed if none of +.Dv MAKEDEV_WAITOK , +.Dv MAKEDEV_NOWAIT +is specified. +.Pp +The .Xr dev_clone 9 event handler shall specify .Dv MAKEDEV_REF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005200941.o4K9fDlc056039>