diff options
author | gbe <gbe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f> | 2020-12-19 09:55:02 +0000 |
---|---|---|
committer | gbe <gbe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f> | 2020-12-19 09:55:02 +0000 |
commit | d895ee9e75633d54aac26f7fe37fdc1b6643a07a (patch) | |
tree | bfb7de061b51f51f8835aef29c7f80a94e0c6758 | |
parent | 3edbed841c25eca2edc4cb748f8ecd0475693e18 (diff) | |
download | freebsd-d895ee9e75633d54aac26f7fe37fdc1b6643a07a.tar.gz freebsd-d895ee9e75633d54aac26f7fe37fdc1b6643a07a.tar.bz2 |
disk(9): Fix a few mandoc related errors
- function name without markup: g_io_deliver()
- function name without markup: disk_gone()
- sections out of conventional order: Sh SEE ALSO
- referenced manual not found: Xr MAKE_DEV 9
Actually the man page of MAKE_DEV has never existed.
MFC after: 3 days
git-svn-id: http://svn.freebsd.org/base/head@368791 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r-- | share/man/man9/disk.9 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/share/man/man9/disk.9 b/share/man/man9/disk.9 index 3361db41f8b..16f2654f483 100644 --- a/share/man/man9/disk.9 +++ b/share/man/man9/disk.9 @@ -172,9 +172,11 @@ kernel panic to record a copy of the system RAM to the disk. Optional: if this method is provided, it gives the disk driver the opportunity to override the default GEOM response to BIO_GETATTR requests. This function should return -1 if the attribute is not handled, 0 if the -attribute is handled, or an errno to be passed to g_io_deliver(). +attribute is handled, or an errno to be passed to +.Fn g_io_deliver . .It Vt "disk_gone_t *" Va d_gone -Optional: if this method is provided, it will be called after disk_gone() +Optional: if this method is provided, it will be called after +.Fn disk_gone is called, once GEOM has finished its cleanup process. Once this callback is called, it is safe for the disk driver to free all of its resources, as it will not be receiving further calls from GEOM. @@ -241,15 +243,14 @@ Typically used to store a pointer to the drivers .Vt softc structure for this disk device. .El +.Sh SEE ALSO +.Xr GEOM 4 , +.Xr devfs 5 .Sh HISTORY The .Nm kernel disk storage API first appeared in .Fx 4.9 . -.Sh SEE ALSO -.Xr GEOM 4 , -.Xr devfs 5 , -.Xr MAKE_DEV 9 .Sh AUTHORS This manual page was written by .An Robert Watson . |