Examples
--------
In all the examples of this section, we assume that drive 0 is a 3
1/2 and drive 1 a 5 1/4.
The following example shows how to format a 1440K disk in drive 0:
superformat /dev/fd0 hd
The following example shows how to format a 1200K disk in drive 1:
superformat /dev/fd1 hd
The following example shows how to format a 1440K disk in drive 1:
superformat /dev/fd1 hd sect=18
The following example shows how to format a 720K disk in drive 0:
superformat /dev/fd0 dd
The following example shows how to format a 1743K disk in drive 0 (83
cylinders times 21 sectors):
superformat /dev/fd0 sect=21 cyl=83
The following example shows how to format a 1992K disk in drive 0 (83
cylinders times 2 heads times 12 KB per track)
superformat /dev/fd0 tracksize=12KB cyl=83 mss
The following example shows how to format a 1840K disk in drive 0. It
will have 5 2048-byte sectors, one 1024-byte sector, and one 512-byte
sector per track:
superformat /dev/fd0 tracksize=23b mss 2m ssize=2KB
All these formats can be autodetected by mtools, using the floppy
driver's default settings.