Skip to content
forked from tedigh/ufiformat

My clone of ufiformat repository. Currently only for backup purposes and possible future build patches as it was abandoned by the author.

License

Notifications You must be signed in to change notification settings

bocke/ufiformat

 
 

Repository files navigation

Ufiformat - A format utility for USB floppy disk devices.

My clone of ufiformat repository. Currently only for backup purposes and possible future build patches as it was abandoned by the author.

README

This is a format utility for USB floppy disk devices.

Usage: ufiformat [OPTION]... [DEVICE]
Format a floppy disk in a USB floppy disk DEVICE.

  • -f, --format [SIZE]
    specify format capacity SIZE in KB
    without -f option, the format of the current media will be used
  • -F, --force
    do not perform any safety checks
  • -i, --inquire
    show device information, instead of performing format
    without DEVICE argument, list USB floppy disk devices
  • -v, --verbose
    show detailed output
  • -q, --quiet
    suppress minor output
  • -h, --help
    show this message

NOTE: ufiformat supports only the following format capacities.

  • 1440/1232/1200 (for 2hd disk)
  • 720/640 (for 2dd disk)

The device should also support the capacities, otherwise ufiformat will show an error message.

The above format capacities are predefined in the program, but each usb floppy device also has a limited set of formats (defined internally) that it can format media to. The allowed format capacities are obtained by querying the device, but this only returns the total format capacity and not CHS (cylinder, heads and sectors), hence a mapping is required in the program.

This program is based around the following document:

The original author

About

My clone of ufiformat repository. Currently only for backup purposes and possible future build patches as it was abandoned by the author.

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 44.5%
  • C 29.3%
  • Makefile 21.9%
  • Roff 3.3%
  • M4 1.0%