This new ufdformat(1) utility (originally written by bms@) performs a low level floppy disk format in a similar manner to fdformat(1) but using a USB floppy drive.
Yes. It performs the same function as fdformat(1) except that it only performs a low level format floppy disks using USB floppy drives. To name it usbformat would imply it formats other umass devices, which it does not.
camcontrol is the traditional location for this functionality, though that obscures things. And there's issues with the integration there, so here might not be bad. Some of the code belongs in libcam, however at the very least.
The manual section should be 8, not 1 (fdformat is bogusly located in section 1). Maybe this is too fine a point.
I tend to agree with the 'move to kernel / libcam comments'
there should be a libcam function to do this already....
should be a libcam routine to do this already
We could move the functions and similar ones used by camcontrol(8) to libcam. What if I open a new revision first to do just that?
Re the volume 1 manpage, I was puzzling over why fdformat(1) was in volume 1 too. I will volume 8 and move this man page to volume 8 as well.
can be given as the full path
or as an short device name that is located in``
Remove this line.
The options are:
Break the sentence here.
.Xr fdcontrol 8 .
The default is 1.44MB.
Do not ask for confirmation about formatting the floppy disk, but
flag has not been specified, ask the user for confirmation
To continue, an answer
Don't need "finally".
Break the sentence:
1 is returned on any errors during floppy formatting. An exit status
of 2 reflects invalid arguments given to the program, along with
appropriate information written to diagnostic output.
Ummm.... copy/paste error? ufdformat didn't appear in FreeBSD 6, unless I'm mistaken.