FORMAT(8) — UNIX Programmer’s Manual
NAME
format − format utility of floppy disk/hard disk/optical disk
SYNOPSIS
format [−t type] <device-name>"
format [−m {2|3}] [−v] [−y] [−silent] <device-name>"
DESCRIPTION
Format is a program to format a hard disk, optical disk, an internal/external(NWS-1700/PWS-1500 series only) 3.5 inches micro floppy disk.
Raw device file name to be formatted is specified at <device-name>.
With a hard disk or optical disk, the whole unit (partition c) will be formatted even if the partition number [a−h] is specified as a device file name. The formatting of some partitions can not be executed.
With a floppy disk, partition a means the whole unit. So specify a.
Once the formatting is done, all the date in that media will be lost. Be careful the following items before you start the formatting.
1)The unit to be formatted is not include the mounted device.
2)The unit to be formatted is not include the device that is used as a swap device.
−m {2|3}
There is 2 modes to format the optical disk, the mode 2 that is sony original format and the mode 3 that is ISO Standard. You can select this mode by using −m option.
NWP-539 is not supported the mode 3, and always formatted with the mode 3 though the mode is selected or not.
NWP-539S is supported both of the mode 2 and mode 3, and it is formatted with the selected mode. If the mode is not specified, mode 3 is selected.
−vDisplay the detailed information of a hard disk or oprical disk while formatting.
−yFormatting of a hard disk or optical disk will be started immediately without the confirmation.
−silent
Formatting of a hard disk or optical disk will be started with a silent mode. Any messages while formatting will be displayed.
−t type
Define the format type (within 13 kinds of type) regardless the current defined parameter for device when you format a floppy disk. Specify the number of type with −t option. The value of paraeter defined before is stored temporarily and will be returned after the command is completed.
[NOTICE for Formatting a Floppy Disk] Formatting 1MB floppy disk (2DD), /dev/rfd0a is to be specified. For 2MB floppy disk (2HD), /dev/rfh0a should be given.
ECMA/ISO format is used. With the models that are connectable the external floppy disk (NWS-1700/PWS-1500 series of NEWS), one physical unit have several device file name, and the formatting will be changed according that names. The format parameter corresponding to the device name can be changed by issuing the ioctl. command is executed with the parameter defined to the device.
The system have preset the 13 kinds of type for formatting, and each device file name is initially set the any of the format type.
The revolutions of the spindle moter for formatting a hard disk is different between the NEWS internal and the external. So, notice that the drive is limited according to the format type.
When you use the external drive, make sure to set the 640KB/1MB switch to the appropriate direction.
The pre-defined format types are (13 types);
----------------------------------------------------------------
FD2DD0news 720KB MFD
FD2HD1news 1.44MB MFD[S]
FD2HD10242MSDOS 2HD 1.23MB(NEC PC9800) [N]∗
oasys 2HD
FD2DDMS93MSDOS 2DD 9sect 720KB
FD2DDMS84MSDOS 2DD 8sect 640KB
FD2DMS95MSDOS 2D 9sect 360KB
FD2DMS86MSDOS 2D 8sect 320KB
FD2HDPS7IBM PS/2 2HD/1.44MB[S]
FD2HCAT8IBM PC-AT 2HC(5.25") 1.2MB∗
FD2DDOA9oasys 2DD 770KB
FD2DDOA010oasys 2DD cyl#0
FD1S12811oasys 2HD trk#0[N]∗
FD2D25612oasys 2HD trk#1[N]∗
[N]... only for aNEC external drive
∗ ... rear SW of a external drive = 1MB (other type = 640KB )
The types initially set to each device name are;
∗ Models which can be connected an external floppy (NWS-1700/PWS-1500 series)
00 ’u
rfd00a :FD2HD rfd20a :FD2HD1024 rfd30a:FD2HD1024
rfd01a :FD2DD rfd21a :FD2DDOA rfd31a:FD2DDOA
rfd02a :FD2DDMS9 rfd22a :FD2DDMS9 rfd32a:FD2DDMS9
rfd03a :FD2DDMS8 rfd23a :FD2DDMS8 rfd33a:FD2DDMS8
rfd04a :FD2DMS9 rfd24a :FD2DMS9 rfd34a:FD2DMS9
rfd05a :FD2DMS8 rfd25a :FD2DMS8 rfd35a:FD2DMS8
rfd06a :FD2HDPS rfd26a :FD1S128 rfd36a:FD1S128
rfd07a :FD2HCAT rfd27a :FD2D256 rfd37a:FD2D256
(parameter change OK)
j ∗ Other models (NWS-800/700/900/1800/1900 series)
rfd0a :FD2DD
rfh0a :FD2HD (parameter change NG)
FILES
/dev/rsd[0-7][a-h] raw file (character special file)
/dev/rfd[0-3][0-7]a raw file (character special file)
/dev/rfd0a raw file (character special file)
/dev/rfh0a raw file (character special file)
NEWS-OSRelease 3.3