1DISKDEFS(5)                      File formats                      DISKDEFS(5)
2
3
4

NAME

6       diskdefs - CP/M disk and file system format definitions
7

DESCRIPTION

9       The  diskdefs  file  contains CP/M format descriptions, because CP/M in
10       general does not store those in the file system and there are no  stan‐
11       dards of any kind.
12
13       A diskdefs file consists of one or more entries of the format:
14
15              diskdef name
16                seclen size
17                tracks count
18                sectrk count
19                blocksize size
20                maxdir count
21                [dirblks count]
22                boottrk number
23                [bootsec number]
24                [skew number]
25                [skewtab sector[,sector]...]
26                [os 2.2|3|isx|p2dos|zsys]
27                [offset size]
28                [logicalextents count]
29                [libdsk:format name]
30              end
31
32       skew and skewtab must only be used exclusively.
33
34       Comments  are marked with a leading hash or semicolon and extend to the
35       end of the line.
36
37       It is possible to reserve space after the directory beyond maxdir using
38       an inflated DPB ALV0.  If the format makes use of that, dirblks must be
39       set.
40
41       bootsec contains the total number of sectors used  by  the  boot  area.
42       This is for CP/M systems that map multiple logical tracks onto a physi‐
43       cal track. While raw disk images can be configured for doing the  same,
44       accessing libdsk images needs to be done by physical tracks.
45

SEE ALSO

47       cpm(5)
48
49
50
51CP/M tools                     November 2, 2022                    DISKDEFS(5)
Impressum