cmdk(4d) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

cmdk(4d)

cmdk(4D)                  Device Drivers & /dev files                 cmdk(4D)

NAME
       cmdk - common disk driver

SYNOPSIS
       cmdk@target, lun : [ partition | slice ]

DESCRIPTION
       The  cmdk  device driver is a common interface to various disk devices.
       The driver supports both fixed disks and removable disks.


       The cmdk device driver supports three different disk labels: fdisk par‐
       tition table, Solaris x86 VTOC and EFI/GPT.


       The block-files access the disk using  the  system's  normal  buffering
       mechanism  and  are  read  and  written without regard to physical disk
       records. There is also a raw interface that provides for direct  trans‐
       mission  between the disk and the user's read or write buffer. A single
       read or write call usually results in one I/O  operation;  raw  I/O  is
       therefore  considerably more efficient when many bytes are transmitted.
       The names of the block files are found in /dev/dsk. Raw file names  are
       found in /dev/rdsk.


       I/O  requests  to the disk must have an offset and transfer length that
       is a multiple of 512 bytes or the driver returns an EINVAL error.


       When not using ZFS, slice 2 is normally used for backing up the  entire
       fdisk  partition  for  Solaris  software.  Other slices may be used for
       other file systems or system reserved area.


       The fdisk partition 0 is to access the entire  disk  and  is  generally
       used by the fdisk(8) program.

FILES
       /dev/dsk/cndn[s|p]n       block device (IDE)


       /dev/rdsk/cndn[s|p]n      raw device (IDE)

                                 where:

                                 cn    controller n.


                                 dn    lun n (0-1).


                                 sn    UNIX system slice n (0-15).


                                 pn    fdisk partition (0-36).



       /kernel/drv/amd64/cmdk    64-bit kernel module.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Architecturex86 _ Availabilitydriver/storage/cmdk


SEE ALSO
       lseek(2), read(2), write(2), readdir(3C), dkio(4I), scsi(5), vfstab(5),
       attributes(7), fdisk(8), mount(8)

Oracle Solaris 11.4               15 Mar 2024                         cmdk(4D)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3