This chunk cannot be booted from because it extends past cylinder 1024.
CHUNK_BSD_COMPAT
This chunk is in the BSD Ns -compatibility , and has a short name too, i.e. wd0s4f -> wd0f.
CHUNK_ALIGN
This chunk should be aligned.
CHUNK_IS_ROOT
This part is a rootfs, allocate partition 'a'.
CHUNK_ACTIVE
This is the active slice in the MBR.
CHUNK_FORCE_ALL
Force a dedicated disk for .Fx , bypassing all BIOS geometry considerations.
The private_data, private_free, and private_clone fields are for data private to the application, and the management thereof. If the functions are not provided, no storage management is done, cloning will just copy the pointer and freeing will just forget it.
Open_Disk will open the named disk, and return populated tree.
Free_Disk frees a tree made with Open_Disk or Clone_Disk.
Debug_Disk prints the content of the tree to stdout.
Set_Bios_Geom sets the geometry the bios uses.
Delete_Chunk frees a chunk of disk_space.
Collapse_Disk and Collapse_Chunk are experimental, do not use.
Create_Chunk creates a chunk with the specified parameters.
All_FreeBSD makes one .Fx chunk covering the entire disk; if force_all is set, bypass all BIOS geometry considerations.
CheckRules returns char* to warnings about broken design rules in this disklayout.
Disk_Names returns char** with all disks names (wd0, wd1 ...). You must free each pointer, as well as the array by hand.
Set_Boot_Mgr sets this boot-manager for use on this disk. Gets written when Write_Disk is called.
Set_Boot_Blocks sets the boot-blocks for use on this disk. Gets written when Write_Disk is called.
Write_Disk writes all the MBRs, disklabels, bootblocks and boot managers.
Cyl_Aligned checks if offset is aligned on a cylinder according to the BIOS geometry.
Next_Cyl_Aligned rounds offset up to next cylinder according to the BIOS geometry.
Prev_Cyl_Aligned rounds offset down to previous cylinder according to the BIOS geometry.
Track_Aligned checks if offset is aligned on a track according to the BIOS geometry.
Next_Track_Aligned rounds offset up to next track according to the BIOS geometry.
Prev_Track_Aligned rounds offset up to previous track according to the BIOS geometry.
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.
MakeDev makes the device nodes for this chunk.
MakeDevDisk makes the device nodes for all chunks on this disk.
ShowChunkFlags returns a string to show flags.
The chunk_name function takes the enumerated chunk type and returns its name. chunk_name replaces the old external array chunk_n.
slice_type_name returns the name strings associated with the specified type. subtype. If slice_type_name returns "unknown" for slices it is not familiar with.