1afe61c15SRodney W. Grimes.\" Copyright (c) 1983, 1991, 1993 2afe61c15SRodney W. Grimes.\" The Regents of the University of California. All rights reserved. 3afe61c15SRodney W. Grimes.\" 4afe61c15SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without 5afe61c15SRodney W. Grimes.\" modification, are permitted provided that the following conditions 6afe61c15SRodney W. Grimes.\" are met: 7afe61c15SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright 8afe61c15SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer. 9afe61c15SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright 10afe61c15SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer in the 11afe61c15SRodney W. Grimes.\" documentation and/or other materials provided with the distribution. 12afe61c15SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software 13afe61c15SRodney W. Grimes.\" must display the following acknowledgement: 14afe61c15SRodney W. Grimes.\" This product includes software developed by the University of 15afe61c15SRodney W. Grimes.\" California, Berkeley and its contributors. 16afe61c15SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors 17afe61c15SRodney W. Grimes.\" may be used to endorse or promote products derived from this software 18afe61c15SRodney W. Grimes.\" without specific prior written permission. 19afe61c15SRodney W. Grimes.\" 20afe61c15SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21afe61c15SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22afe61c15SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23afe61c15SRodney W. Grimes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24afe61c15SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25afe61c15SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26afe61c15SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27afe61c15SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28afe61c15SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29afe61c15SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30afe61c15SRodney W. Grimes.\" SUCH DAMAGE. 31afe61c15SRodney W. Grimes.\" 32afe61c15SRodney W. Grimes.\" @(#)disktab.5 8.1 (Berkeley) 6/5/93 337f3dea24SPeter Wemm.\" $FreeBSD$ 34afe61c15SRodney W. Grimes.\" 35afe61c15SRodney W. Grimes.Dd June 5, 1993 36afe61c15SRodney W. Grimes.Dt DISKTAB 5 37afe61c15SRodney W. Grimes.Os BSD 4.2 38afe61c15SRodney W. Grimes.Sh NAME 39afe61c15SRodney W. Grimes.Nm disktab 40afe61c15SRodney W. Grimes.Nd disk description file 41afe61c15SRodney W. Grimes.Sh SYNOPSIS 42afe61c15SRodney W. Grimes.Fd #include <disktab.h> 43afe61c15SRodney W. Grimes.Sh DESCRIPTION 44afe61c15SRodney W. Grimes.Nm Disktab 45afe61c15SRodney W. Grimesis a simple database which describes disk geometries and 46afe61c15SRodney W. Grimesdisk partition characteristics. 47afe61c15SRodney W. GrimesIt is used 48afe61c15SRodney W. Grimes.\"by the formatter(\c 49afe61c15SRodney W. Grimes.\"IR.Xr format 8 ) 50afe61c15SRodney W. Grimes.\"to determine how to format the disk, and 51afe61c15SRodney W. Grimesto initialize the disk label on the disk. 52afe61c15SRodney W. GrimesThe format is patterned 53afe61c15SRodney W. Grimesafter the 54afe61c15SRodney W. Grimes.Xr termcap 5 55afe61c15SRodney W. Grimesterminal data base. Entries in 564b66483fSRuslan Ermilov.Nm 57afe61c15SRodney W. Grimesconsist of a number of `:' separated fields. The 58afe61c15SRodney W. Grimesfirst entry for each disk gives the names which are 59afe61c15SRodney W. Grimesknown for the disk, separated by `|' characters. The 60afe61c15SRodney W. Grimeslast name given should be a long name fully identifying 61afe61c15SRodney W. Grimesthe disk. 62afe61c15SRodney W. Grimes.Pp 63afe61c15SRodney W. GrimesThe following list indicates the normal values 64afe61c15SRodney W. Grimesstored for each disk entry. 65afe61c15SRodney W. Grimes.Bl -column "indent" "boolx" 66afe61c15SRodney W. Grimes.It Sy Name Type Description 67afe61c15SRodney W. Grimes.It "\&ty str Type of disk (e.g. removable, winchester)" 68afe61c15SRodney W. Grimes.It "\&dt str Type of controller (e.g." 69afe61c15SRodney W. Grimes.Tn SMD , ESDI , 70afe61c15SRodney W. Grimesfloppy) 71afe61c15SRodney W. Grimes.It "\&ns num Number of sectors per track" 72afe61c15SRodney W. Grimes.It "\&nt num Number of tracks per cylinder" 73afe61c15SRodney W. Grimes.It "\&nc num Total number of cylinders on the disk" 74afe61c15SRodney W. Grimes.It "\&sc num Number of sectors per cylinder, nc*nt default" 75afe61c15SRodney W. Grimes.It "\&su num Number of sectors per unit, sc*nc default" 76afe61c15SRodney W. Grimes.It "\&se num Sector size in bytes," 77afe61c15SRodney W. Grimes.Dv DEV_BSIZE 78afe61c15SRodney W. Grimesdefault 79afe61c15SRodney W. Grimes.It "\&sf bool Controller supports bad144-style bad sector forwarding" 80afe61c15SRodney W. Grimes.It "\&rm num Rotation speed, rpm, 3600 default" 81afe61c15SRodney W. Grimes.It "\&sk num Sector skew per track, default 0" 82afe61c15SRodney W. Grimes.It "\&cs num Sector skew per cylinder, default 0" 83afe61c15SRodney W. Grimes.It "\&hs num Headswitch time, usec, default 0" 84afe61c15SRodney W. Grimes.It "\&ts num One-cylinder seek time, usec, default 0" 85afe61c15SRodney W. Grimes.It "\&il num Sector interleave (n:1), 1 default" 86afe61c15SRodney W. Grimes.It "\&d[0-4] num Drive-type-dependent parameters" 87afe61c15SRodney W. Grimes.It "\&bs num Boot block size, default" 88afe61c15SRodney W. Grimes.Dv BBSIZE 89afe61c15SRodney W. Grimes.It "\&sb num Superblock size, default" 90afe61c15SRodney W. Grimes.Dv SBSIZE 91afe61c15SRodney W. Grimes.It "\&ba num Block size for partition `a' (bytes)" 92afe61c15SRodney W. Grimes.It "\&bd num Block size for partition `d' (bytes)" 93afe61c15SRodney W. Grimes.It "\&be num Block size for partition `e' (bytes)" 94afe61c15SRodney W. Grimes.It "\&bf num Block size for partition `f' (bytes)" 95afe61c15SRodney W. Grimes.It "\&bg num Block size for partition `g' (bytes)" 96afe61c15SRodney W. Grimes.It "\&bh num Block size for partition `h' (bytes)" 97afe61c15SRodney W. Grimes.It "\&fa num Fragment size for partition `a' (bytes)" 98afe61c15SRodney W. Grimes.It "\&fd num Fragment size for partition `d' (bytes)" 99019f1378SMike Pritchard.It "\&fe num Fragment size for partition `e' (bytes)" 100afe61c15SRodney W. Grimes.It "\&ff num Fragment size for partition `f' (bytes)" 101afe61c15SRodney W. Grimes.It "\&fg num Fragment size for partition `g' (bytes)" 102afe61c15SRodney W. Grimes.It "\&fh num Fragment size for partition `h' (bytes)" 103afe61c15SRodney W. Grimes.It "\&oa num Offset of partition `a' in sectors" 104afe61c15SRodney W. Grimes.It "\&ob num Offset of partition `b' in sectors" 105afe61c15SRodney W. Grimes.It "\&oc num Offset of partition `c' in sectors" 106afe61c15SRodney W. Grimes.It "\&od num Offset of partition `d' in sectors" 107afe61c15SRodney W. Grimes.It "\&oe num Offset of partition `e' in sectors" 108afe61c15SRodney W. Grimes.It "\&of num Offset of partition `f' in sectors" 109afe61c15SRodney W. Grimes.It "\&og num Offset of partition `g' in sectors" 110afe61c15SRodney W. Grimes.It "\&oh num Offset of partition `h' in sectors" 111afe61c15SRodney W. Grimes.It "\&pa num Size of partition `a' in sectors" 112afe61c15SRodney W. Grimes.It "\&pb num Size of partition `b' in sectors" 113afe61c15SRodney W. Grimes.It "\&pc num Size of partition `c' in sectors" 114afe61c15SRodney W. Grimes.It "\&pd num Size of partition `d' in sectors" 115afe61c15SRodney W. Grimes.It "\&pe num Size of partition `e' in sectors" 116afe61c15SRodney W. Grimes.It "\&pf num Size of partition `f' in sectors" 117afe61c15SRodney W. Grimes.It "\&pg num Size of partition `g' in sectors" 118afe61c15SRodney W. Grimes.It "\&ph num Size of partition `h' in sectors" 119afe61c15SRodney W. Grimes.It "\&ta str Partition type of partition `a'" 120afe61c15SRodney W. Grimes.Pf ( Bx 4.2 121afe61c15SRodney W. Grimesfilesystem, swap, etc) 122afe61c15SRodney W. Grimes.It "\&tb str Partition type of partition `b'" 123afe61c15SRodney W. Grimes.It "\&tc str Partition type of partition `c'" 124afe61c15SRodney W. Grimes.It "\&td str Partition type of partition `d'" 125afe61c15SRodney W. Grimes.It "\&te str Partition type of partition `e'" 126afe61c15SRodney W. Grimes.It "\&tf str Partition type of partition `f'" 127afe61c15SRodney W. Grimes.It "\&tg str Partition type of partition `g'" 128afe61c15SRodney W. Grimes.It "\&th str Partition type of partition `h'" 129afe61c15SRodney W. Grimes.El 130afe61c15SRodney W. Grimes.Sh FILES 131afe61c15SRodney W. Grimes.Bl -tag -width /etc/disktab -compact 132afe61c15SRodney W. Grimes.It Pa /etc/disktab 133afe61c15SRodney W. Grimes.El 134afe61c15SRodney W. Grimes.Sh SEE ALSO 135afe61c15SRodney W. Grimes.Xr getdiskbyname 3 , 136afe61c15SRodney W. Grimes.Xr disklabel 5 , 137afe61c15SRodney W. Grimes.Xr disklabel 8 , 138afe61c15SRodney W. Grimes.Xr newfs 8 139afe61c15SRodney W. Grimes.Sh HISTORY 140afe61c15SRodney W. GrimesThe 141afe61c15SRodney W. Grimes.Nm 142afe61c15SRodney W. Grimesdescription file appeared in 143afe61c15SRodney W. Grimes.Bx 4.2 . 144