OpenWindows Reference Manual
  Cerca solo questo libro
Scarica il manuale in formato PDF

NAME

format_floppy - diskette formatting program used by FileManager

SYNOPSIS

format_floppy -d device -m mnt_point [ -h ] [ -n name ] [ -p popup_type ] [ -r ] [ -x x_pos ] [ -y y_pos ]

DESCRIPTION

Format_floppy is used by filemgr(1) to format 3.5 in. high-density floppy disks. It is not intended to be used directly but rather is called by filemgr when a floppy disk can not be read and the user indicates that it should be formatted. This situation occurs if the user inserts a new disk into the dirve or tries to use a disk that is unreadable for some reason. The user will be notified that the disk is unreadable and be given the options of ejecting the disk or formatting it. Filemgr and vold(1) must be running when the unreadable disk is inserted into the drive in order for format_floppy to be called.
Note that DOS-formatted disks are automatically recognized by vold and filemgr will not try to reformat them.

OPTIONS

-d device
The raw device name of the floppy disk must be specified. This information is in the second filed of the file /tmp/.removable/floppyN where N is the number of hte floppy disk (usually 0).
-h
Causes format_floppy to display its "help" or usage message.
-m mnt_point
The mount-point of the floppy disk must be specified. This information is in the first field of the the file /tmp/.removable/floppyN, where N is the number of the floppy disk (usually 0).
-n name
Allows a name to be assigned to the newly-formatted floppy disk.
-p popup_type
Allows the type of popup menu to be specified where popup_type can be format, unformatted, or unlabled. The default is format. Note that the wording in these popup menus is different.
-r
Allows the floppy disk to be renamed. If -r is specified, -n must be also.
-x x_pos
Used with the -p option to specify the x-coordinate position for the popup menu.
-y y_pos
Used with the -p option to specify the y-coordinate position for the popup menu.

FILES

/tmp/.removable/*

SEE ALSO

filemgr(1), vold(1)