|
|
1.1 root 1: .TH MKFS 8
2: .CT 1 sa_nonmortals
3: .SH NAME
4: mkfs, mkbitfs, mklost+found \- construct a disk file system
5: .SH SYNOPSIS
6: .B /etc/mkfs
7: .I special size
8: [
9: .I spacing cylsize
10: ]
11: .PP
12: .B /etc/mkbitfs
13: .I special size
14: [
15: .I spacing cylsize
16: ]
17: .PP
18: .B /etc/mklost+found
19: .SH DESCRIPTION
20: .I Mkfs
21: .RI ( mkbitfs )
22: constructs a regular (bitmapped) file system on the block device
23: .IR special .
24: .I Size
25: is the number of 1KB (4KB)
26: blocks on the special file.
27: Values of
28: .I size
29: for various special files, e.g.
30: .IR ra (4),
31: are given in Section 4.
32: The new file system has a single empty directory and a
33: number of inodes that depends on the size.
34: .PP
35: .I Spacing
36: and
37: .I cylsize
38: are used for block allocation.
39: .I Spacing
40: is the preferred distance between successive blocks of a file;
41: .I cylsize
42: is the number of blocks the system can use
43: without causing a disk seek.
44: Suboptimal default values
45: are built into the programs;
46: some reasonable values are suggested below.
47: .PP
48: .I Mklost+found
49: creates a directory called
50: .B lost+found
51: in the working directory
52: with several empty slots.
53: This directory is used as a repository
54: for disconnected files
55: recovered by
56: .IR fsck (8)
57: and
58: .IR chuck (8).
59: .SH EXAMPLES
60: .EX
61: /etc/mkbitfs /dev/ra03 31231
62: /etc/mount /dev/ra03 /mnt
63: cd /mnt
64: /etc/mklost+found
65: .EE
66: .br
67: .ns
68: .IP
69: Notice the change of units between
70: .IR ra (4)
71: and here: 31231 = 249848\(**512/4096.
72: .SH "SEE ALSO"
73: .IR filsys (5),
74: .IR fsck (8)
75: .SH BUGS
76: .I Fsck
77: should make
78: .I lost+found
79: automatically
80: when needed.
81: .SH MACHINE DEPENDENCIES
82: Here are empirically good values for
83: .I spacing
84: and
85: .I cylsize
86: for VAX hardware.
87: Minor changes, such as a new version of a controller,
88: can invalidate them.
89: To be certain,
90: run your own experiments.
91: Cylinder size doesn't seem to matter much
92: on RA81 disks.
93: On RA90s, it doesn't matter as long as it is large.
94: .PP
95: .2C
96: Bitmapped (4K) file systems
97: .nf
98: .if n .ta 6 +6 +6
99: space cyl disk, controller, CPU
100: 2 500 RA90, KDB50, VAX 8550
101: 4 500 RA90, UDA50, VAX 8550
102: 2 40 RA81, KDB50, VAX 8550
103: 3 40 RA81, old KDB50, VAX 8550
104: 3 40 RA81, UDA50, VAX 8550
105: 3 105 Wren VI, Viking UDD, VAX 8550
106: 4 40 RA81, UDA50, VAX-11/750
107: 3 40 RA60, UDA50, VAX-11/750
108: 3 40 RA81, KDA50, MicroVAX II
109: 1 40 RD54, RQDX3, MicroVAX II
110: 3 40 RA81, KDA50, MicroVAX III
111: Old-style (1K) file systems
112: space cyl disk, controller, CPU
113: 5 357 RA81, KDB50, VAX 8550
114: 7 357 RA81, UDA50, VAX-11/780
115: 7 357 RA81, KDA50, MicroVAX II
116: 7 128 RD54, RQDX3, MicroVAX II
117: 6 357 RA81, KDA50, MicroVAX III
118: .sp5
119: .1C
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.