Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mmcformat(8) [netbsd man page]

MMCFORMAT(8)						    BSD System Manager's Manual 					      MMCFORMAT(8)

NAME
mmcformat -- format optical media SYNOPSIS
mmcformat [-BDFGHhIMOpRrSsw] [-b blockingnr] [-c cert-num] special DESCRIPTION
The mmcformat utility formats optical media conforming to the MMC standard. This includes CD, DVD, and Blu-Ray (BD) media. The options are as follows: -B Blank media when possible before formatting it. -b blockingnr Explicitly select packet size in sectors (for CD-RW only). It is not recommended to change this from its default of 32. -c cert-num Certify media for DVD-RAM / DV-RE. The argument cert-num specifies: 0 no certification 1 full certification 2 quick certification -D Debug mode. Print all SCSI/ATAPI command errors. -F Format media. -G Grow last CD-RW/DVD-RW session. -H Show help and print formatting choices for the inserted media. -h Show help and print formatting choices for the inserted media. -I Show help and print formatting choices for the inserted media. -M Select MRW (Mount Rainier) error correcting background format. -O Old style CD-RW formatting; recommended for CD-RW. -p Explicitly set packet format. -R Restart previously stopped MCD-MRW or DVD+RW background format. -r Recompile defect list for DVD-RAM. -S Grow spare space DVD-RAM / BD-RE. -s Format DVD+MRW / BD-RE with extra spare space. -w Wait until completion of background format. NOTES
Due to the enormous varieties in optical media, mmcformat is made as generic as possible. This can result in confusion. EXAMPLES
mmcformat -B -O /dev/rcd0d Blanks and then formats a CD-RW disc using the ``old style'' format command. It is recommended to use this ``old style'' command unless your drive reports that it's not supported; in that case, resort to the default -F. Note that a CD-RW disc can be reformatted without being blanked. Blanking switches between sequential and fixed packet writing by erasing the disc. This can also help to revive old discs. mmcformat -F -M /dev/rcd0d Format a CD-RW or a DVD+RW to use MRW (Mount Rainier). This format tries to hide media flaws as much as possible by relocation. SEE ALSO
scsictl(8) HISTORY
The mmcformat command first appeared in NetBSD 5.0. AUTHORS
Reinoud Zandijk <reinoud@NetBSD.org> BUGS
mmcformat could be merged with scsictl(8) but that tool is very hard disk oriented. BSD
May 9, 2008 BSD

Check Out this Related Man Page

fddisk(8)						      System Manager's Manual							 fddisk(8)

NAME
fddisk - FDI disk maintenance utility SYNOPSIS
/sbin/fddisk options special OPTIONS
Unless this option is specified, an attempt to format or to install a file system fails in two cases. The first failure occurs when the device has been opened since the media was inserted. The second failure occurs if the device is currently opened by another process. For- mats the media to the density appropriate for that media. Copies a hex dump of sector number PSN to stdout. Uses the interleave factor nnn for formatting. If specified, ccc indicates an additional intercylinder interleave. Copies a packed-C hex dump of the entire disk to stdout. Specifies silent mode. This option blocks informational messages from appearing on stderr. Reads the entire media. The command fails if the utility finds a bad sector. Waits for media to be inserted into the drive if none is present. Waits for new media to be inserted into the drive if none is present or if the current media has been opened since it was last inserted. Reads the disk and reports on the format of the disk. OPERANDS
Specifies an unmounted, raw device pathname. This device must be an FDI interface (fd). DESCRIPTION
The fddisk utility, an FDI (integrated Floppy Disk Interface) disk maintenance program, can format a floppy disk, scan a floppy disk for bad blocks, and read and write selected blocks. It can be used in shell scripts for checking the status of floppy disks. Such status checks include checking for or waiting for the presence of media, and checking for or waiting for the user to change the media. RESTRICTIONS
The fddisk utility has the following restrictions: You must have read/write access to the device. The device must not be mounted. The program can only be used with a 3.5-inch floppy disk in the RX26 drive. In some cases, it might not be possible to format a floppy disk at a higher density than it is already formatted. If this situation occurs, the floppy disk must be bulk erased before it can be reformatted at a higher density. EXAMPLES
This example formats a floppy disk in drive zero: # /sbin/fddisk -fmt /dev/rdisk/floppy0a This example formats a floppy disk in drive zero when the disk has been read or written since it was inserted into the drive: # /sbin/fddisk -fmt -f /dev/rdisk/floppy0a SEE ALSO
Commands: mount(8), restore(8), uerf(8) Files: fd(7) fddisk(8)
Man Page