Disk driver (sd)

The Linux 2.4 SCSI subsystem HOWTO
Prev | Chapter 9. Upper level drivers | Next

# 9.1. Disk driver (sd)

Two types of SCSI devices are accessible via the sd driver:

- "direct access" devices which are usually magnetic disks. [SCSI peripheral device code is 0]

- "Optical memory devices" which are often called MOD disks. [SCSI peripheral device code is 7]

The sd driver is a block device which means that it is closely associated with the block subsystem. It also supports the concept of partitions. [man sd dates from 1992.]

The sd driver is capable of recognizing 128 disks when it is loaded at kernel boot time or later as a module. However, once it is loaded, it will only recognize a fixed number of additional disks. The number of additional disks that can be accommodated is set by the kernel configuration parameter CONFIG_SD_EXTRA_DEVS whose default value is 40.

## 9.1.1. sd boot parameters

None.

## 9.1.2. sd module parameters

The sd driver takes no parameters when loaded as a module. Note that its module name is `sd_mod.o`.

Prev | Home | Next
Upper level drivers | Up | CDROM driver (sr or scd)