Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 KB | None | 0 0
  1. lando@Landons-MBP ~> ssh ss20
  2. Last login: Wed Apr 17 04:08:47 2019 from 10.3.0.143
  3. Sun Microsystems Inc. SunOS 5.6 Generic August 1997
  4. -bash-4.4$ man fdformat
  5. Reformatting page. Wait... done
  6.  
  7. User Commands fdformat(1)
  8.  
  9. NAME
  10. fdformat - format floppy diskette or PCMCIA memory card
  11.  
  12. SYNOPSIS
  13. fdformat [ -dDeEfHlLmMUqvx ] [ -b label ] [ -B filename ]
  14. [ -t dostype ] [ devname ]
  15.  
  16. DESCRIPTION
  17. fdformat is a utility for formatting both diskettes and
  18. PCMCIA memory cards. All new, blank diskettes or PCMCIA
  19. memory cards must be formatted before they can be used.
  20. fdformat formats and verifies the media, and indicates
  21. whether any bad sectors were encountered. All existing data
  22. on the diskette or PCMCIA memory card, if any, is destroyed
  23. by formatting. If no device name is given, fdformat uses
  24. the diskette as a default.
  25.  
  26. By default, fdformat uses the configured capacity of the
  27. drive to format the diskette. A 3.5 inch high-density drive
  28. uses diskettes with a formatted capacity of 1.44 megabytes.
  29. A 5.25 inch high-density drive uses diskettes with a format-
  30. ted capacity of 1.2 megabytes. In either case, a density
  31. option does not have to be specified to fdformat. However,
  32. a density option must be specified when using a diskette
  33. with a lower capacity than the drive's default. Use the -H
  34. option to format high-density diskettes (1.44-megabyte capa-
  35. city) in an extra-high-density (ED) drive. Use the -D
  36. option, the -l option, or the -L option to format double-
  37. density (or "low-density") diskettes (720KB capacity) in an
  38. HD or ED drive. To format medium-density diskettes (1.2-
  39. megabyte capacity), use the -M option with -t nec (this is
  40. the same as using the -m option with -t nec).
  41.  
  42. Extended density uses double-sided, extended-density (or
  43. extra-high-density) (DS/ED) diskettes. Medium and high den-
  44. sities use the same media: double-sided, high-density
  45. (DS/HD) diskettes. Double ("low") density uses double-sided,
  46. double-density (DS/DD) diskettes. Substituting diskettes of
  47. one density for diskettes of either a higher or lower den-
  48. sity generally will not work. Data integrity cannot be
  49. assured whenever a diskette is formatted to a capacity not
  50. matching its density.
  51.  
  52. A PCMCIA memory card with densities from 512 KBytes to 64
  53. MBytes may be formatted.
  54.  
  55. fdformat writes new identification and data fields for each
  56. sector on all tracks unless the -x option is specified. For
  57. diskettes, if the -v option is specified, each sector is
  58. verified.
  59.  
  60. SunOS 5.6 Last change: 11 Feb 1997 1
  61.  
  62. User Commands fdformat(1)
  63.  
  64. After formatting and verifying, fdformat writes an
  65. operating-system label on block 0. Use the -t dos option
  66. (same as the -d option) to put an MS-DOS file system on the
  67. diskette or PCMCIA memory card after the format is done.
  68. Use the -t nec option with the -M option (same as the -m
  69. option) to put an NEC-DOS file system on a diskette. Other-
  70. wise, fdformat writes a SunOS label in block 0.
  71.  
  72. OPTIONS
  73. -D Format a 720KB (3.5 inch) or 360KB (5.25 inch)
  74. double-density diskette (same as the -l or -L
  75. options). This is the default for double-
  76. density type drives. It is needed if the drive
  77. is a high- or extended-density type.
  78.  
  79. -e Eject the diskette when done. (This feature is
  80. not available on all systems).
  81.  
  82. -E Format a 2.88-megabyte (3.5 inch) extended-
  83. density diskette. This is the default for
  84. extended-density type drives.
  85.  
  86. -f Force. Do not ask for confirmation before
  87. starting format.
  88.  
  89. -H Format a 1.44-megabyte (3.5 inch) or 1.2-
  90. megabyte (5.25 inch) high-density diskette.
  91. This is the default for high-density type
  92. drives; it is needed if the drive is the
  93. extended-density type.
  94.  
  95. -M Write a 1.2-megabyte (3.5 inch) medium-density
  96. format on a high-density diskette (use only with
  97. the -t nec option). This is the same as using
  98. -m. (This feature is not available on all sys-
  99. tems.)
  100.  
  101. -U umount any file systems and then format.
  102.  
  103. -q Quiet; do not print status messages.
  104.  
  105. -v Verify each block of the diskette after the for-
  106. mat.
  107.  
  108. -x Skip the format, and only write a SunOS label or
  109. an MS-DOS file system.
  110.  
  111. -b label Label the media with volume label. A SunOS
  112. volume label is restricted to 8 characters. A
  113. DOS volume label is restricted to 11 upper-case
  114. characters.
  115.  
  116. SunOS 5.6 Last change: 11 Feb 1997 2
  117.  
  118. User Commands fdformat(1)
  119.  
  120. -B filename Install special boot loader in filename on an
  121. MS-DOS diskette. This option is only meaningful
  122. when the -d option (or -t dos) is also speci-
  123. fied.
  124.  
  125. -t dos Install an MS-DOS file system and boot sector
  126. formatting. This is equivalent to the DOS for-
  127. mat command or the -d option.
  128.  
  129. -t nec Install an NEC-DOS file system and boot sector
  130. on the disk after formatting. This should be
  131. used only with the -M option. (This feature is
  132. not available on all systems).
  133.  
  134. devname Replace devname with rdiskette0 (systems without
  135. Volume Management) or floppy0 (systems with
  136. Volume Management) to use the first drive or
  137. rdiskette1 (systems without Volume Management)
  138. or floppy1 (systems with Volume Management) to
  139. use the second drive. If devname is omitted,
  140. the first drive, if one exists, will be used.
  141.  
  142. For PCMCIA memory cards, replace devname with
  143. the device name for the PCMCIA memory card which
  144. resides in /dev/rdsk/cNtNdNsN or
  145. /dev/dsk/cNtNdNsN.
  146.  
  147. If devname is omitted, the default diskette
  148. drive, if one exists, will be used.
  149.  
  150. N represents a decimal number and can be speci-
  151. fied as follows:
  152.  
  153. cN Controller N
  154.  
  155. tN Technology type N:
  156. 0x1 ROM
  157. 0x2 OTPROM
  158. 0x3 EPROM
  159. 0x4 EEPROM
  160. 0x5 FLASH
  161. 0x6 SRAM
  162. 0x7 DRAM
  163.  
  164. dN Technology region in type N
  165.  
  166. sN Slice N
  167.  
  168. The following options are provided for compatibility with
  169. previous versions of fdformat; their use is discouraged.
  170.  
  171. -d Format an MS-DOS floppy diskette or PCMCIA
  172.  
  173. SunOS 5.6 Last change: 11 Feb 1997 3
  174.  
  175. User Commands fdformat(1)
  176.  
  177. memory card. (same as -t dos). This is
  178. equivalent to the MS-DOS FORMAT command.
  179.  
  180. -l Format a 720KB (3.5 inch) or 360KB (5.25 inch)
  181. double-density diskette (same as -D or -L).
  182. This is the default for double-density type
  183. drives; it is needed if the drive is the high-
  184. or extended-density type.
  185.  
  186. -L Format a 720KB (3.5 inch) or 360KB (5.25 inch)
  187. double-density diskette (same as -l or -D).
  188. This is the default for double-density type
  189. drives; it is needed if the drive is the high-
  190. or extended-density type.
  191.  
  192. -m Write a 1.2-megabyte (3.5 inch) medium-density
  193. format on a high-density diskette (use only with
  194. the -t nec option). This is the same as using
  195. -M. (This feature is not available on all sys-
  196. tems.)
  197.  
  198. FILES
  199. /vol/dev/diskette0 Directory providing block device
  200. access for the media in floppy
  201. drive 0.
  202. /vol/dev/rdiskette0 Directory providing character dev-
  203. ice access for the media in floppy
  204. drive 0.
  205. /vol/dev/aliases/floppy0 Symbolic link to the character dev-
  206. ice for the media in floppy drive
  207. 0.
  208. /dev/rdiskette Directory providing character dev-
  209. ice access for the media in the
  210. primary floppy drive, usually drive
  211. 0.
  212. /vol/dev/dsk/cNtNdNsN Directory providing block device
  213. access for the PCMCIA memory
  214. card.
  215. /vol/dev/rdsk/cNtNdNsN Directory providing character dev-
  216. ice access for the PCMCIA memory
  217. card.
  218. /vol/dev/aliases/pcmemS Symbolic link to the character dev-
  219. ice for the PCMCIA memory card in
  220. socket S where S represents a
  221. PCMCIA socket number.
  222. /dev/rdsk/cNtNdNsN Directory providing character dev-
  223. ice access for the PCMCIA memory
  224. card.
  225. /dev/dsk/cNtNdNsN Directory providing block device
  226. access for the PCMCIA memory card.
  227. Note: See devname section above for a description of the
  228. values for N.
  229.  
  230. SunOS 5.6 Last change: 11 Feb 1997 4
  231.  
  232. User Commands fdformat(1)
  233.  
  234. ATTRIBUTES
  235. See attributes(5) for descriptions of the following attri-
  236. butes:
  237.  
  238. __________________________________
  239. | ATTRIBUTE TYPE| ATTRIBUTE VALUE|
  240. |__________________________________
  241. | Availability | SUNWcsu |
  242. |_______________|_________________|
  243. SEE ALSO
  244. cpio(1), eject(1), tar(1), volcancel(1), volcheck(1), vol-
  245. missing(1), mount(1M), newfs(1M), rmmount(1M), vold(1M),
  246. rmmount.conf(4), vold.conf(4), attributes(5), pcfs(7FS),
  247. volfs(7FS)
  248. x86 Only
  249. fd(7D)
  250.  
  251. NOTES
  252. A diskette or PCMCIA memory card containing a ufs file sys-
  253. tem created on a SPARC based system (by using fdformat and
  254. newfs(1M)) is not identical to a diskette or PCMCIA memory
  255. card containing a ufs file system created on an x86 based
  256. system. Do not interchange ufs diskettes or memory cards
  257. between these platforms; use cpio(1) or tar(1) to transfer
  258. files on diskettes or memory cards between them.
  259.  
  260. A diskette or PCMCIA memory card formatted using the -t dos
  261. option (or -d) for MS-DOS will not have the necessary system
  262. files, and is therefore not bootable. Trying to boot from
  263. it on a PC will result in the following message:
  264.  
  265. Non-System disk or disk error
  266. Replace and strike any key when ready
  267.  
  268. BUGS
  269. Currently, bad sector mapping is not supported on floppy
  270. diskettes or PCMCIA memory cards. Therefore, a diskette or
  271. memory cards is unusable if fdformat finds an error (bad
  272. sector).
  273.  
  274. SunOS 5.6 Last change: 11 Feb 1997 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement