diff options
Diffstat (limited to 'lib/libdisk')
| -rw-r--r-- | lib/libdisk/libdisk.3 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libdisk/libdisk.3 b/lib/libdisk/libdisk.3 index 341bb4f51a271..1f4cef070e863 100644 --- a/lib/libdisk/libdisk.3 +++ b/lib/libdisk/libdisk.3 @@ -201,7 +201,8 @@ The and .Ql private_clone fields are for data private to the application, and the management -thereof. If the functions are not provided, no storage management is +thereof. +If the functions are not provided, no storage management is done, cloning will just copy the pointer and freeing will just forget it. .Pp @@ -247,16 +248,19 @@ to warnings about broken design rules in this disklayout. .Fn Disk_Names returns .Ql char** -with all disk's names (wd0, wd1 ...). You must free each pointer, as +with all disk's names (wd0, wd1 ...). +You must free each pointer, as well as the array by hand. .Pp .Fn Set_Boot_Mgr -sets this boot-manager for use on this disk. Gets written when +sets this boot-manager for use on this disk. +Gets written when .Fn Write_Disk is called. .Pp .Fn Set_Boot_Blocks -sets the boot-blocks for use on this disk. Gets written when +sets the boot-blocks for use on this disk. +Gets written when .Fn Write_Disk is called. .Pp @@ -295,7 +299,8 @@ is aligned on a track according to the BIOS geometry. .Pp .Fn Create_Chunk_DWIM creates a partition inside the given parent of the given size, and -returns a pointer to it. The first unused chunk big enough is used. +returns a pointer to it. +The first unused chunk big enough is used. .Pp .Fn MakeDev makes the device nodes for this chunk. |
