DISKTAB(5)
πΎ DISKTAB(5) β disktab, the disk description file πΎ
πΈ NAME πΈ
disktab β disk description file
β¨ SYNOPSIS β¨
#include <disklabel.h>
π DESCRIPTION π
Okay so disktab is a simple database which describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk. The format is patterned after the termcap(5) terminal data base. Entries in disktab consist of a number of :-separated fields. The first field for each entry gives the names by which a disk's entry may be selected, separated by | characters. The last name given should be a long name fully identifying the disk.
The optional fields for each entry are:
ty(str) β Type of disk (e.g.removable,winchester).dt(str) β Type of controller (e.g.SMD,ESDI,floppy).ns(num) β Number of sectors per track.nt(num) β Number of tracks per cylinder.nc(num) β Total number of cylinders on the disk.sc(num) β Number of sectors per cylinder,ns*ntdefault.su(num) β Number of sectors per unit,sc*ncdefault.se(num) β Sector size in bytes,DEV_BSIZEdefault.sf(bool) β Controller supports bad144-style bad sector forwarding.rm(num) β Rotation speed, rpm,3600default.sk(num) β Sector skew per track, default0.cs(num) β Sector skew per cylinder, default0.hs(num) β Headswitch time, usec, default0.ts(num) β One-cylinder seek time, usec, default0.il(num) β Sector interleave (n:1),1default.d[0-4](num) β Drive-type-dependent parameters.bs(num) β Boot block size, defaultBBSIZE.sb(num) β Superblock size, default0.ba(num) β Block size for partitiona(bytes).bd(num) β Block size for partitiond(bytes).be(num) β Block size for partitione(bytes).bf(num) β Block size for partitionf(bytes).bg(num) β Block size for partitiong(bytes).bh(num) β Block size for partitionh(bytes).fa(num) β Fragment size for partitiona(bytes).fd(num) β Fragment size for partitiond(bytes).fe(num) β Fragment size for partitione(bytes).ff(num) β Fragment size for partitionf(bytes).fg(num) β Fragment size for partitiong(bytes).fh(num) β Fragment size for partitionh(bytes).oa(num) β Offset of partitionain sectors.ob(num) β Offset of partitionbin sectors.oc(num) β Offset of partitioncin sectors.od(num) β Offset of partitiondin sectors.oe(num) β Offset of partitionein sectors.of(num) β Offset of partitionfin sectors.og(num) β Offset of partitiongin sectors.oh(num) β Offset of partitionhin sectors.pa(num) β Size of partitionain sectors.pb(num) β Size of partitionbin sectors.pc(num) β Size of partitioncin sectors.pd(num) β Size of partitiondin sectors.pe(num) β Size of partitionein sectors.pf(num) β Size of partitionfin sectors.pg(num) β Size of partitiongin sectors.ph(num) β Size of partitionhin sectors.ta(str) β Partition type of partitiona(4.2BSDfile system,swap, etc).tb(str) β Partition type of partitionb.tc(str) β Partition type of partitionc.td(str) β Partition type of partitiond.te(str) β Partition type of partitione.tf(str) β Partition type of partitionf.tg(str) β Partition type of partitiong.th(str) β Partition type of partitionh.
π FILES π
/etc/disktab
π SEE ALSO π
π°οΈ HISTORY π°οΈ
The disktab description file appeared in 4.2BSD.
xoxo, Debian π β DISKTAB(5), October 14, 2006 π thatβs the source/version/date, bestie, periodt.
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms