diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-02 23:52:20 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-02 23:52:20 +0000 |
| commit | 1a0a934547909744a6a2fa4cfd5b795ec6394f05 (patch) | |
| tree | 23294a96f715e1e5bc35c1029ec151c90ee95b96 /lib/libdisk | |
| parent | e37a7c5f5a689c6f1994a879f5fa86066b7aac82 (diff) | |
Notes
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 341bb4f51a27..1f4cef070e86 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. |
