fdread.1 (79286) | fdread.1 (95127) |
---|---|
1.\" 2.\" Copyright (c) 2001 Joerg Wunsch 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 2001 Joerg Wunsch 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/usr.sbin/fdread/fdread.1 79286 2001-07-05 07:21:28Z ru $ | 26.\" $FreeBSD: head/usr.sbin/fdread/fdread.1 95127 2002-04-20 12:27:18Z charnier $ |
27.\" 28.\" 29.Dd May 14, 2001 30.Os 31.Dt FDREAD 1 32.Sh NAME 33.Nm fdread 34.Nd read floppy disks --- 9 unchanged lines hidden (view full) --- 44.Op Fl t Ar trackno 45.Sh DESCRIPTION 46The 47.Nm 48utility reads floppy disks. Effective read blocking based on the track 49size is performed, and floppy-specific error recovery of otherwise 50bad blocks can be enabled. 51.Pp | 27.\" 28.\" 29.Dd May 14, 2001 30.Os 31.Dt FDREAD 1 32.Sh NAME 33.Nm fdread 34.Nd read floppy disks --- 9 unchanged lines hidden (view full) --- 44.Op Fl t Ar trackno 45.Sh DESCRIPTION 46The 47.Nm 48utility reads floppy disks. Effective read blocking based on the track 49size is performed, and floppy-specific error recovery of otherwise 50bad blocks can be enabled. 51.Pp |
52The |
|
52.Nm | 53.Nm |
54utility |
|
53will always read an entire floppy medium, and write its contents to 54the respective output file. Unlike other tools like 55.Xr dd 1 , 56.Nm 57automatically uses a read block size that is more efficient than 58reading single blocks (usually one track of data at a time), but 59falls back to reading single floppy sectors in case of an input/output 60error occurred, in order to obtain as much valid data as possible. --- 84 unchanged lines hidden (view full) --- 145option. 146.El 147.Sh FILES 148.Bl -tag -width /dev/fd0 149.It Pa /dev/fd0 150Default device to read from. 151.El 152.Sh DIAGNOSTICS | 55will always read an entire floppy medium, and write its contents to 56the respective output file. Unlike other tools like 57.Xr dd 1 , 58.Nm 59automatically uses a read block size that is more efficient than 60reading single blocks (usually one track of data at a time), but 61falls back to reading single floppy sectors in case of an input/output 62error occurred, in order to obtain as much valid data as possible. --- 84 unchanged lines hidden (view full) --- 147option. 148.El 149.Sh FILES 150.Bl -tag -width /dev/fd0 151.It Pa /dev/fd0 152Default device to read from. 153.El 154.Sh DIAGNOSTICS |
155The |
|
153.Nm | 156.Nm |
154sets the exit value according to | 157utility sets the exit value according to |
155.Xr sysexits 3 . 156In recovery mode, the exit value will be set to 157.Dv EX_IOERR 158if any error occurred during processing (even in quiet mode). 159.Pp 160Unless running in quiet mode, upon encountering an error, the status 161of the floppy disc controller (FDC) will be printed out, both in 162hexadecimal form, followed by a textual description that translates --- 57 unchanged lines hidden --- | 158.Xr sysexits 3 . 159In recovery mode, the exit value will be set to 160.Dv EX_IOERR 161if any error occurred during processing (even in quiet mode). 162.Pp 163Unless running in quiet mode, upon encountering an error, the status 164of the floppy disc controller (FDC) will be printed out, both in 165hexadecimal form, followed by a textual description that translates --- 57 unchanged lines hidden --- |