Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (7229 KB)
rmformat(1)Name | Synopsis | Description | Options | Operands | Examples | Files | Attributes | See Also | Notes | Bugs Name
Synopsis
rmformat [-DeHUv] [-b label] [-c blockno]
[-Fquick | long | force ] [-s filename] [devname]
rmformat -V read | write devname rmformat -l [devname] DescriptionThe rmformat utility is used to format, label, partition, and perform other miscellaneous functions on removable, rewritable media that include floppy drives, and the PCMCIA memory and ata cards. The rmformat utility should also be used with all USB mass storage devices, including USB hard drives. This utility can also be used for the verification and surface analysis and for repair of the bad sectors found during verification if the drive or the driver supports bad block management. After formatting, rmformat writes the label, which covers the full capacity of the media as one slice on floppy and PCMCIA memory cards to maintain compatibility with the behavior of fdformat. The partition information can be changed with the help of other options provided by rmformat. Options
The following options are supported: Operands
The following operand is supported: ExamplesExample 1 Formatting a Diskette
Example 2 Formatting a Diskette for a UFS File SystemThe following example formats a diskette and creates a UFS file system:
Example 3 Formatting Removable Media for a PCFS File SystemThe following example shows how to create an alternate fdisk partition:
The following example describes how to create a PCFS file system without an fdisk partition:
Example 4 Listing All Removable DevicesThe following example shows how to list removable devices. This output shows a long listing of such devices.
Files
AttributesSee attributes(5) for descriptions of the following attributes:
See Alsocpio(1), eject(1), fdformat(1), tar(1), volcheck(1), volrmmount(1), format(1M), mkfs_pcfs(1M), mount(1M), newfs(1M), prtvtoc(1M), rmmount(1M), rpc.smserverd(1M), attributes(5), scsa2usb(7D), sd(7D), pcfs(7FS), udfs(7FS) NotesA rewritable media or PCMCIA memory card or PCMCIA ata card containing a ufs file system created on a SPARC-based system (using newfs(1M)) is not identical to a rewritable media or PCMCIA memory card containing a ufs file system created on an x86 based system. Do not interchange any removable media containing ufs between these platforms; use cpio(1) or tar(1) to transfer files on diskettes or memory cards between them. For interchangeable filesystems refer to pcfs(7FS) and udfs(7FS). rmformat might not list all removable devices in virtualization environments. BugsCurrently, bad sector mapping is not supported on floppy diskettes or PCMCIA memory cards. Therefore, a diskette or memory card is unusable if rmformat finds an error (bad sector). Name | Synopsis | Description | Options | Operands | Examples | Files | Attributes | See Also | Notes | Bugs |
||||||||||||