Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
FDFORMAT(1)		FreeBSD	General	Commands Manual		   FDFORMAT(1)

     fdformat -- format	floppy disks

     fdformat [-q] [-v]	[-n] [-f capacity] [-c cyls] [-s secs] [-h heads]
	      [-r rate]	[-g gap3len] [-i intleave] [-S secshft]	[-F fillbyte]
	      [-t steps_per_track] device_name

     Fdformat formats a	floppy disk at device device_name.  Device_name	should
     be	a character device; it may be given either with	a full path name of a
     raw device	node for a floppy disk drive (e. g. /dev/rfd0),	or default
     name in an	abbreviated form (e. g.	fd0).  In the latter case, the name is
     constructed by prepending /dev/r and appending a .capacity	to the
     device_name.  Note	that any geometry constraints of the device node
     (minor device number) are meaningless, since they're overridden by

     The options are as	follows:

	   -q	       supress any normal output from the command, and don't
		       ask the user for	a confirmation whether to format the
		       floppy disk at device_name.

	   -f capacity
		       The normal way to specify the desired formatting	param-
		       eters.  Capacity	is the number of kilobytes to format.

	   -n	       Don't verify floppy after formatting.

	   -v	       Don't format, verify only.

	   -c cyls

	   -s secs

	   -h heads

	   -r rate

	   -g gap3len

	   -i intleave

	   -S secshft

	   -F fillbyte

	   -t steps_per_track
		       An alternate method to specify the geometry data	to
		       write to	the floppy disk.

     If	the -q flag has	not been specified, the	user is	asked for a confirma-
     tion of the intended formatting process. In order to continue, an answer
     of	``y'' must be given.

     Unless -q has been	specified, a single letter is printed to standard out-
     put to inform the user about the progress of work.	 First,	an `F' is
     printed when the track(s) is being	formatted, then	a `V' while it's being
     verified, and if an error has been	detected, it will finally change to

     An	exit status of 0 is returned upon successful operation.	Exit status 1
     is	returned on any	errors during floppy formatting, and an	exit status of
     2 reflects	invalid	arguments given	to the program (along with an appro-
     priate information	written	to diagnostic output).


     Fdformat has been developed for 386BSD 0.1	and upgraded to	the new	fd(4)
     floppy disk driver. It later became part of the FreeBSD system, release

     The program has been contributed by Joerg Wunsch, Dresden,	with changes
     by	Serge Vakulenko	and Andrew A. Chernov, Moscow.

FreeBSD	2.0.5		      September	16, 1993		 FreeBSD 2.0.5


Want to link to this manual page? Use this URL:

home | help