fdwrite.1 (93151) | fdwrite.1 (95127) |
---|---|
1.\" 2.\" ---------------------------------------------------------------------------- 3.\" "THE BEER-WARE LICENSE" (Revision 42): 4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5.\" can do whatever you want with this stuff. If we meet some day, and you think 6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7.\" ---------------------------------------------------------------------------- 8.\" | 1.\" 2.\" ---------------------------------------------------------------------------- 3.\" "THE BEER-WARE LICENSE" (Revision 42): 4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5.\" can do whatever you want with this stuff. If we meet some day, and you think 6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7.\" ---------------------------------------------------------------------------- 8.\" |
9.\" $FreeBSD: head/usr.sbin/fdwrite/fdwrite.1 93151 2002-03-25 14:12:49Z phk $ | 9.\" $FreeBSD: head/usr.sbin/fdwrite/fdwrite.1 95127 2002-04-20 12:27:18Z charnier $ |
10.\" 11.\" 12.Dd September 16, 1993 13.Os 14.Dt FDWRITE 1 15.Sh NAME 16.Nm fdwrite 17.Nd format and write floppy disks 18.Sh SYNOPSIS 19.Nm 20.Op Fl v 21.Op Fl y 22.Op Fl f Ar inputfile 23.Op Fl d Ar device 24.Sh DESCRIPTION | 10.\" 11.\" 12.Dd September 16, 1993 13.Os 14.Dt FDWRITE 1 15.Sh NAME 16.Nm fdwrite 17.Nd format and write floppy disks 18.Sh SYNOPSIS 19.Nm 20.Op Fl v 21.Op Fl y 22.Op Fl f Ar inputfile 23.Op Fl d Ar device 24.Sh DESCRIPTION |
25.Nm Fdwrite 26formats and writes one and more floppy disks. | 25The 26.Nm 27utility formats and writes one and more floppy disks. |
27Any floppy disk device capable of formatting can be used. 28.Pp | 28Any floppy disk device capable of formatting can be used. 29.Pp |
29.Nm Fdwrite 30will ask the user | 30The 31.Nm 32utility will ask the user |
31(on 32.Pa /dev/tty ) 33to insert a new floppy and press return. 34The device will then be opened, and queried for its parameters, 35then each track will be formatted, written with data from the 36.Ar inputfile , 37read back and compared. 38When the floppy disk is filled, the process is repeated, with the next disk. --- 18 unchanged lines hidden (view full) --- 57is useful for shell scripts. 58.It Fl f Ar inputfile 59Input file to read. If none is given, stdin is assumed. 60.It Fl d Ar device 61The name of the floppy device to write to. Default is 62.Pa /dev/fd0 . 63.El 64.Pp | 33(on 34.Pa /dev/tty ) 35to insert a new floppy and press return. 36The device will then be opened, and queried for its parameters, 37then each track will be formatted, written with data from the 38.Ar inputfile , 39read back and compared. 40When the floppy disk is filled, the process is repeated, with the next disk. --- 18 unchanged lines hidden (view full) --- 59is useful for shell scripts. 60.It Fl f Ar inputfile 61Input file to read. If none is given, stdin is assumed. 62.It Fl d Ar device 63The name of the floppy device to write to. Default is 64.Pa /dev/fd0 . 65.El 66.Pp |
65.Nm Fdwrite 66actually closes the | 67The 68.Nm 69utility actually closes the |
67.Ar device 68while it waits for the user to press return, 69it is thus quite possible to use the drive for other purposes at this 70time and later resume writing with the next floppy. 71.Pp 72The parameters returned from 73.Ar device 74are used for formatting. 75If custom formatting is needed, please use 76.Xr fdformat 1 77instead. 78.Sh EXAMPLES | 70.Ar device 71while it waits for the user to press return, 72it is thus quite possible to use the drive for other purposes at this 73time and later resume writing with the next floppy. 74.Pp 75The parameters returned from 76.Ar device 77are used for formatting. 78If custom formatting is needed, please use 79.Xr fdformat 1 80instead. 81.Sh EXAMPLES |
79.Nm Fdwrite | 82The 83.Nm 84utility |
80was planned as a tool to make life easier when writing a set of floppies, 81one such use could be to write a tar-archive: 82.Pp 83.Dl "tar cf - . | gzip -9 | fdwrite -d /dev/fd0.1720 -v 84.Pp 85The main difference from using 86.Xr tar 1 Ns 's 87multivolume facility is of course the formatting of the floppies, which 88here is done on the fly, 89thus reducing the amount of work for the floppy-jockey. 90.Sh SEE ALSO 91.Xr fdformat 1 92.Sh HISTORY | 85was planned as a tool to make life easier when writing a set of floppies, 86one such use could be to write a tar-archive: 87.Pp 88.Dl "tar cf - . | gzip -9 | fdwrite -d /dev/fd0.1720 -v 89.Pp 90The main difference from using 91.Xr tar 1 Ns 's 92multivolume facility is of course the formatting of the floppies, which 93here is done on the fly, 94thus reducing the amount of work for the floppy-jockey. 95.Sh SEE ALSO 96.Xr fdformat 1 97.Sh HISTORY |
93.Nm Fdwrite 94was written while waiting for ``make world'' to complete. | 98The 99.Nm 100utility was written while waiting for ``make world'' to complete. |
95Some of the code was taken from 96.Xr fdformat 1 . 97.Sh AUTHORS 98The program has been contributed by 99.An Poul-Henning Kamp Aq phk@FreeBSD.org . 100.Sh BUGS 101Diagnostics are less than complete at present. 102.Pp --- 19 unchanged lines hidden --- | 101Some of the code was taken from 102.Xr fdformat 1 . 103.Sh AUTHORS 104The program has been contributed by 105.An Poul-Henning Kamp Aq phk@FreeBSD.org . 106.Sh BUGS 107Diagnostics are less than complete at present. 108.Pp --- 19 unchanged lines hidden --- |