Date: Wed, 26 Oct 2005 22:28:38 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/fdread fdread.c Message-ID: <200510262228.j9QMSctp010447@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-10-26 22:28:38 UTC
FreeBSD src repository
Modified files:
usr.sbin/fdread fdread.c
Log:
fdread cannot work without opening the /dev/fd node in O_RDWR mode now,
because it sets the floppy controller parameters, which requires O_RDWR.
Specifically, the FD_SOPTS ioctl requires this, and the code errors out
and aborts if it can't do it. Among other things, it is changing the
FDOPT_NOERRLOG flag. Broken in 6.0 as well.
Revision Changes Path
1.7 +1 -1 src/usr.sbin/fdread/fdread.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510262228.j9QMSctp010447>
