Print this page
4833 Remove volrmmount
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1/fdformat.1.man.txt
+++ new/usr/src/man/man1/fdformat.1.man.txt
1 1 FDFORMAT(1) User Commands FDFORMAT(1)
2 2
3 3
4 4
5 5 NAME
6 6 fdformat - format floppy diskette or PCMCIA memory card
7 7
8 8 SYNOPSIS
9 9 fdformat [-dDeEfHlLmMUqvx] [-b label] [-B filename]
10 10 [-t dostype] [devname]
11 11
12 12
13 13 DESCRIPTION
14 14 The fdformat utility has been superseded by rmformat(1), which provides
15 15 most but not all of fdformat's functionality.
16 16
17 17
18 18 fdformat is used to format diskettes and PCMCIA memory cards. All new
19 19 blank diskettes or PCMCIA memory cards must be formatted before they
20 20 can be used.
21 21
22 22
23 23 fdformat formats and verifies the media and indicates whether any bad
24 24 sectors were encountered. All existing data on the diskette or PCMCIA
25 25 memory card, if any, is destroyed by formatting. If no device name is
26 26 given, fdformat uses the diskette as a default.
27 27
28 28
29 29 By default, fdformat uses the configured capacity of the drive to
30 30 format the diskette. A 3.5 inch high-density drive uses diskettes with
31 31 a formatted capacity of 1.44MB. A 5.25 inch high-density drive uses
32 32 diskettes with a formatted capacity of 1.2MB. In either case, a density
33 33 option does not have to be specified to fdformat. However, a density
34 34 option must be specified when using a diskette with a lower capacity
35 35 than the drive's default. Use the -H option to format high-density
36 36 diskettes (1.44MB capacity) in an extra-high-density (ED) drive. Use
37 37 the -D option, the -l option, or the -L option to format double-
38 38 density (or low-density) diskettes (720KB capacity) in an HD or ED
39 39 drive. To format medium-density diskettes (1.2MB capacity), use the -M
40 40 option with -t nec (this is the same as using the -m option with -t
41 41 nec).
42 42
43 43
44 44 Extended density uses double-sided, extended-density or extra-high-
45 45 density (DS/ED) diskettes. Medium and high densities use the same
46 46 media: double-sided, high-density (DS/HD) diskettes. Double (low)
47 47 density uses double-sided, double-density (DS/DD
48 48
49 49
50 50 D) diskettes. Substituting diskettes of one density for diskettes of
51 51 either a higher or lower density generally does not work. Data
52 52 integrity cannot be assured whenever a diskette is formatted to a
53 53 capacity not matching its density.
54 54
55 55
56 56 A PCMCIA memory card with densities from 512KB to 64MB may be
57 57 formatted.
58 58
59 59
60 60 fdformat writes new identification and data fields for each sector on
61 61 all tracks unless the -x option is specified. For diskettes, each
62 62 sector is verified if the -v option is specified.
63 63
64 64
65 65 After formatting and verifying, fdformat writes an operating-system
66 66 label on block 0. Use the -t dos option (same as the -d option) to put
67 67 an MS-DOS file system on the diskette or PCMCIA memory card after the
68 68 format is done. Use the -t nec option with the -M option (same as the
69 69 -m option) to put an NEC-DOS file system on a diskette. Otherwise,
70 70 fdformat writes a SunOS label in block 0.
71 71
72 72 OPTIONS
73 73 The following options are supported:
74 74
75 75 -b label
76 76 Labels the media with volume label. A SunOS volume label
77 77 is restricted to 8 characters. A DOS volume label is
78 78 restricted to 11 upper-case characters.
79 79
80 80
81 81 -B filename
82 82 Installs special boot loader in filename on an MS-DOS
83 83 diskette. This option is only meaningful when the -d
84 84 option (or -t dos) is also specified.
85 85
86 86
87 87 -D
88 88 Formats a 720KB (3.5 inch) or 360KB (5.25 inch) double-
89 89 density diskette (same as the -l or -L options). This is
90 90 the default for double-density type drives. It is needed
91 91 if the drive is a high- or extended-density type.
92 92
93 93
94 94 -e
95 95 Ejects the diskette when done. This feature is not
96 96 available on all systems.
97 97
98 98
99 99 -E
100 100 Formats a 2.88MB (3.5 inch) extended-density diskette.
101 101 This is the default for extended-density type drives.
102 102
103 103
104 104 -f
105 105 Forces formatting, that is, this option does not ask for
106 106 confirmation before starting format.
107 107
108 108
109 109 -H
110 110 Formats a 1.44MB (3.5 inch) or 1.2MB (5.25 inch) high-
111 111 density diskette. This is the default for high-density
112 112 type drives; it is needed if the drive is the extended-
113 113 density type.
114 114
115 115
116 116 -M
117 117 Writes a 1.2MB (3.5 inch) medium-density format on a
118 118 high-density diskette (use only with the -t nec option).
119 119 This is the same as using -m.
120 120
121 121 This feature is not available on all systems.
122 122
123 123
124 124 -q
125 125 Quiet; does not print status messages.
126 126
127 127
128 128 -t dos
129 129 Installs an MS-DOS file system and boot sector
130 130 formatting. This is equivalent to the DOS format command
131 131 or the -d option.
132 132
133 133
134 134 -t nec
135 135 Installs an NEC-DOS file system and boot sector on the
136 136 disk after formatting. This should be used only with the
137 137 -M option. This feature is not available on all systems.
138 138
139 139
140 140 -U
141 141 Performs umount on any file systems and then formats.
142 142 See mount(1M).
143 143
144 144
145 145 -v
146 146 Verifies each block of the diskette after the format.
147 147
148 148
149 149 -x
150 150 Skips the format and only writes a SunOS label or an MS-
151 151 DOS file system.
152 152
153 153
154 154 OPERANDS
155 155 The following operands are supported:
156 156
157 157 devname
158 158 Replaces devname with rdiskette0 (systems without volume
159 159 management) or floppy0 (systems with volume management) to
160 160 use the first drive or rdiskette1 (systems without volume
161 161 management) or floppy1 (systems with volume management) to
162 162 use the second drive. If devname is omitted, the first
163 163 drive, if one exists, is used. For PCMCIA memory cards,
164 164 replace devname with the device name for the PCMCIA memory
165 165 card which resides in /dev/rdsk/cNtNdNsN or
166 166 /dev/dsk/cNtNdNsN. If devname is omitted, the default
167 167 diskette drive, if one exists, is used.
168 168
169 169 If devname is omitted, the default diskette drive, if one
170 170 exists, will be used. N represents a decimal number and can
171 171 be specified as follows:
172 172
173 173 cN
174 174 Controller N
175 175
176 176
177 177 tN
178 178 Technology type N:
179 179
180 180
181 181 0x1 ROM
182 182 0x2 OTPROM
183 183 0x3 EPROM
184 184 0x4 EEPROM
185 185 0x5 FLASH
186 186 0x6 SRAM
187 187 0x7 DRAM
188 188
189 189
190 190
191 191
192 192 dN
193 193 Technology region in type N.
194 194
195 195
196 196 sN
197 197 Slice N.
198 198
199 199 The following options are provided for compatibility with
200 200 previous versions of fdformat. Their use is discouraged.
201 201
202 202 -d
203 203 Formats an MS-DOS floppy diskette or PCMCIA memory
204 204 card (same as -t dos). This is equivalent to the MS-
205 205 DOS FORMAT command.
206 206
207 207
208 208 -l
209 209 Formats a 720KB (3.5 inch) or 360KB (5.25 inch)
210 210 double-density diskette (same as -D or -L). This is
211 211 the default for double-density type drives; it is
212 212 needed if the drive is the high- or extended-density
213 213 type.
214 214
215 215
216 216 -L
217 217 Formats a 720KB (3.5 inch) or 360KB (5.25 inch)
218 218 double-density diskette (same as -l or -D). This is
219 219 the default for double-density type drives.
220 220
221 221
222 222 -m
223 223 Writes a 1.2 MB (3.5 inch) medium- density format on a
224 224 high-density diskette (use only with the -t nec
225 225 option). This is the same as using -M. This feature is
226 226 not available on all systems.
227 227
228 228
229 229
230 230 FILES
231 231 /dev/diskette0
232 232 Directory providing block device access for the
233 233 media in floppy drive 0.
234 234
235 235
236 236 /dev/diskette0
237 237 Directory providing character device access for
238 238 the media in floppy drive 0.
239 239
240 240
241 241 /dev/aliases/floppy0
242 242 Symbolic link to the character device for the
243 243 media in floppy drive 0.
244 244
245 245
246 246 /dev/rdiskette
247 247 Directory providing character device access for
248 248 the media in the primary floppy drive, usually
249 249 drive 0.
250 250
251 251
252 252 /dev/dsk/cNtNdNsN
253 253 Directory providing block device access for the
254 254 PCMCIA memory card. See OPERANDS for a
255 255 description of N.
256 256
257 257
258 258 /dev/rdsk/cNtNdNsN
259 259 Directory providing character device access for
260 260 the PCMCIA memory card. See OPERANDS for a
261 261 description of N.
262 262
263 263
264 264 /dev/aliases/pcmemS
265 265 Symbolic link to the character device for the
266 266 PCMCIA memory card in socket S where S
267 267 represents a PCMCIA socket number.
268 268
269 269
270 270 /dev/rdsk/cNtNdNsN
271 271 Directory providing character device access for
272 272 the PCMCIA memory card. See OPERANDS for a
↓ open down ↓ |
272 lines elided |
↑ open up ↑ |
273 273 description of N.
274 274
275 275
276 276 /dev/dsk/cNtNdNsN
277 277 Directory providing block device access for the
278 278 PCMCIA memory card. See OPERANDS for a
279 279 description of N.
280 280
281 281
282 282 SEE ALSO
283 - cpio(1), eject(1), rmformat(1), tar(1), volcheck(1), volrmmount(1),
284 - mount(1M), newfs(1M), prtvtoc(1M), attributes(5), pcfs(7FS)
283 + cpio(1), eject(1), rmformat(1), tar(1), volcheck(1), mount(1M),
284 + newfs(1M), prtvtoc(1M), attributes(5), pcfs(7FS)
285 285
286 286 x86 Only
287 287 fd(7D)
288 288
289 289 NOTES
290 290 A diskette or PCMCIA memory card containing a ufs file system created
291 291 on a SPARC based system (by using fdformat and newfs(1M)), is not
292 292 identical to a diskette or PCMCIA memory card containing a ufs file
293 293 system created on an x86 based system. Do not interchange ufs diskettes
294 294 or memory cards between these platforms. Use cpio(1) or tar(1) to
295 295 transfer files on diskettes or memory cards between them. A diskette or
296 296 PCMCIA memory card formatted using the -t dos option (or -d) for MS-DOS
297 297 does not have the necessary system files, and is therefore not
298 298 bootable. Trying to boot from it on a PC produces the following
299 299 message:
300 300
301 301 Non-System disk or disk error.
302 302 Replace and strike any key when ready
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
303 303
304 304
305 305
306 306 BUGS
307 307 Currently, bad sector mapping is not supported on floppy diskettes or
308 308 PCMCIA memory cards. Therefore, a diskette or memory card is unusable
309 309 if fdformat finds an error (bad sector).
310 310
311 311
312 312
313 - February 28, 2007 FDFORMAT(1)
313 + May 2, 2014 FDFORMAT(1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX