Date: Mon, 13 Jan 1997 21:21:20 -0800 From: fyeung@fyeung8.netific.com (Francis Yeung) To: questions@freebsd.org Subject: check if floppy in fd0 Message-ID: <9701140521.AA20998@fyeung8.netific.com>
next in thread | raw e-mail | index | archive | help
Greetings, Is there an easy way to check if there is a floppy disk in the floppy drive without any error logging barking at the syslog ? For example, if there is no floppy in the fd0, any floppy I/O will cause the following to be logged: /kernel: fdc0: input ready timeout Jan 13 22:16:05 /kernel: fd0c: hard error reading fsbn 0 (No status) Jan 13 22:16:05 /kernel: fdc0: output ready timeout Jan 13 22:16:05 /kernel: fdc0: cmd e6 failed at out byte 1 of 9 Jan 13 22:16:06 /kernel: fdc0: input ready timeout Jan 13 22:16:06 /kernel: fd0c: hard error reading fsbn 0 (No status) Jan 13 22:16:06 /kernel: fdc0: output ready timeout Jan 13 22:16:06 /kernel: fdc0: cmd e6 failed at out byte 1 of 9 Jan 13 22:16:06 /kernel: fdc0: input ready timeout Jan 13 22:16:06 /kernel: fd0c: hard error reading fsbn 0 (No status) etc etc Thanks. Fran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701140521.AA20998>