add_disk
Prev | Chapter 14. Block Devices | Next

## Name

add_disk — add partitioning information to kernel list

## Synopsis

`void add_disk (` | struct gendisk * disk`)`;

## Arguments

`disk`

  per-device partitioning information

## Description

This function registers the partitioning information in `disk` with the kernel.

## FIXME

error handling

Prev | Up | Next
register_blkdev | Home | get_gendisk