Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Thursday, June 13, 2019
 
 

sdcard(4D)

Name

sdcard - SD/MMC memory card driver

Description

The sdcard memory card driver supports MultiMediaCard (MMC), Secure Digital (SD), and Secure Digital High Capacity (SDHC) memory cards. It uses the blkdev(4D) service to present these cards to the system as SCSI disks on a virtual SCSI bus, creating a child device to be serviced with sd(4D). Each card appears as its own SCSI LUN. Cards are hot-pluggable and removable.

Device Special Files

Disk block special file names are located in /dev/dsk. Raw file names are located in /dev/rdsk. See sd(4D).

Ioctls

See dkio(4I)

Errors

See sd(4D) and blkdev(4D). Additionally, sdcard may issue the following warnings, which indicate a failure to identify the card as a supported type:


"Unknown SD CSD version (%d)"
"Unknown MMC CSD version (%d)"
"Unknown MMCA version (%d)"
"Card type unknown"

Files

Device special files for the storage device are created in the same way as those for a SCSI disk. See sd(4D) for more information.

/dev/dsk/cntndnsn

Block files for disks

/dev/rdsk/cntndnsn

Raw files for disks

/kernel/misc/amd64/sdcard

64-bit ELF kernel module (x86)

Attributes

See attributes(7) for a description of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Architecture
x86
Availability
driver/storage/sdcard

See Also

rmformat(1), rmmount(1), blkdev(4D), sd(4D), sda(4D), pcfs(4FS), dkio(4I), scsi(5), vfstab(5), attributes(7), cfgadm_scsi(8), cfgadm_sdcard(8), fdisk(8), mount(8), umount(8)