#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man4/sd.4:26 #, no-wrap msgid "SD" msgstr "" #. type: TH #: man-pages/man4/sd.4:26 #, no-wrap msgid "2012-05-03" msgstr "" #. type: TH #: man-pages/man4/sd.4:26 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man4/sd.4:26 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man4/sd.4:27 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:29 msgid "sd - driver for SCSI disk drives" msgstr "" #. type: SH #: man-pages/man4/sd.4:29 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:33 #, no-wrap msgid "" "B<#include Elinux/hdreg.hE >/* for HDIO_GETGEO */\n" "B<#include Elinux/fs.hE >/* for BLKGETSIZE and BLKRRPART */" "\n" msgstr "" #. type: SH #: man-pages/man4/sd.4:34 #, no-wrap msgid "CONFIGURATION" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:45 msgid "" "The block device name has the following form: BI where I is a " "letter denoting the physical drive, and I

is a number denoting the " "partition on that physical drive. Often, the partition number, I

, will " "be left off when the device corresponds to the whole drive." msgstr "" #. type: Plain text #: man-pages/man4/sd.4:54 msgid "" "SCSI disks have a major device number of 8, and a minor device number of the " "form (16 * I) + I, where I is " "the number of the physical drive in order of detection, and " "I is as follows:" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:56 msgid "partition 0 is the whole drive" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:58 msgid "partitions 1-4 are the DOS \"primary\" partitions" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:60 msgid "partitions 5-8 are the DOS \"extended\" (or \"logical\") partitions" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:68 msgid "" "For example, I will have major 8, minor 0, and will refer to all " "of the first SCSI drive in the system; and I will have major 8, " "minor 19, and will refer to the third DOS \"primary\" partition on the " "second SCSI drive in the system." msgstr "" #. type: Plain text #: man-pages/man4/sd.4:71 msgid "" "At this time, only block devices are provided. Raw devices have not yet " "been implemented." msgstr "" #. type: SH #: man-pages/man4/sd.4:71 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:75 msgid "The following Is are provided:" msgstr "" #. type: TP #: man-pages/man4/sd.4:75 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:79 msgid "Returns the BIOS disk parameters in the following structure:" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:88 #, no-wrap msgid "" "struct hd_geometry {\n" " unsigned char heads;\n" " unsigned char sectors;\n" " unsigned short cylinders;\n" " unsigned long start;\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:94 msgid "A pointer to this structure is passed as the B(2) parameter." msgstr "" #. type: Plain text #: man-pages/man4/sd.4:109 msgid "" "The information returned in the parameter is the disk geometry of the drive " "I This geometry is I the physical geometry of " "the drive. It is used when constructing the drive's partition table, " "however, and is needed for convenient operation of B(1), " "B(1), and B(1). If the geometry information is not available, " "zero will be returned for all of the parameters." msgstr "" #. type: TP #: man-pages/man4/sd.4:110 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:117 msgid "" "Returns the device size in sectors. The B(2) parameter should be a " "pointer to a I." msgstr "" #. type: TP #: man-pages/man4/sd.4:117 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:121 msgid "" "Forces a reread of the SCSI disk partition tables. No parameter is needed." msgstr "" #. type: Plain text #: man-pages/man4/sd.4:131 msgid "" "The SCSI B(2) operations are also supported. If the B(2) " "parameter is required, and it is NULL, then B(2) will fail with the " "error B." msgstr "" #. type: SH #: man-pages/man4/sd.4:131 #, no-wrap msgid "FILES" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:133 msgid "/dev/sd[a-h]: the whole device" msgstr "" #. .SH "SEE ALSO" #. .BR scsi (4) #. type: Plain text #: man-pages/man4/sd.4:137 msgid "/dev/sd[a-h][0-8]: individual block partitions" msgstr "" #. type: SH #: man-pages/man4/sd.4:137 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man4/sd.4:145 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""