|
|
1.1 root 1: .TH NEWFS 8 "20 February 1983"
2: .UC 4
3: .SH NAME
4: newfs \- construct a new file system
5: .SH SYNOPSIS
6: .B /etc/newfs
7: [
8: .B \-v
9: ] [
10: .B \-n
11: ] [
12: .B mkfs-options
13: ]
14: .B special disk-type
15: .SH DESCRIPTION
16: .I Newfs
17: is a ``friendly'' front-end to the
18: .IR mkfs (8)
19: program.
20: .I Newfs
21: will look up the type of disk a file system is
22: being created on in the disk description
23: file
24: .IR /etc/disktab ,
25: calculate the appropriate
26: parameters to use in calling
27: .IR mkfs ,
28: then build the file system by forking
29: .I mkfs
30: and, if the file system is a root partition,
31: install the necessary bootstrap programs
32: in the initial 8 sectors of the device.
33: The
34: .B \-n
35: option prevents the
36: bootstrap programs from being installed.
37: .PP
38: If the
39: .B \-v
40: option is supplied,
41: .I newfs
42: will print out its actions, including
43: the parameters passed to
44: .IR mkfs .
45: .PP
46: Options which may be used to override default
47: parameters passed to
48: .I mkfs
49: are:
50: .TP 10
51: .B \-s size
52: The size of the file system in sectors.
53: .TP 10
54: .B \-b block-size
55: The block size of the file system in bytes.
56: .TP 10
57: .B \-f frag-size
58: The fragment size of the file system in bytes.
59: .TP 10
60: .B \-t #tracks/cylinder
61: .TP 10
62: .B \-c #cylinders/group
63: The number of cylinders per cylinder group in a file system.
64: The default value used is 16.
65: .TP 10
66: .B \-m free space %
67: The percentage of space reserved from normal users; the minimum
68: free space threshhold. The default value used is 10%.
69: .TP 10
70: .B \-r revolutions/minute
71: The speed of the disk in revolutions per minute (normally 3600).
72: .TP 10
73: .B \-S sector-size
74: The size of a sector in bytes (almost never anything but 512).
75: .TP 10
76: .B \-i number of bytes per inode
77: This specifies the density of inodes in the file system.
78: The default is to create an inode for each 2048 bytes of data space.
79: If fewer inodes are desired, a larger number should be used;
80: to create more inodes a smaller number should be given.
81: .SH FILES
82: /etc/disktab for disk geometry and file system partition information
83: .br
84: /etc/mkfs to actually build the file system
85: .br
86: /usr/mdec for boot strapping programs
87: .SH "SEE ALSO"
88: disktab(5),
89: fs(5),
90: fsck(8),
91: vdformat(8S),
92: mkfs(8),
93: tunefs(8)
94: .PP
95: McKusick, Joy, Leffler; "A Fast File System for Unix",
96: Computer Systems Research Group, Dept of EECS, Berkeley, CA 94720;
97: TR #7, September 1982.
98: .SH BUGS
99: Should figure out the type of the disk without the user's help.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.