Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 19:11:58 +0300
From:      "Artem Koutchine" <matrix@ipform.ru>
To:        <hardware@freebsd.org>
Subject:   Detecting CD by polling
Message-ID:  <007001c07cb2$65357900$0c00a8c0@ipform.ru>

next in thread | raw e-mail | index | archive | help
Hello!

I am writing a C programm which must detected a moment, when
a user inserts a cd into thr drive.

open() on /dev/acd0c is always successful
read() of /dev/acd0c also always successful

How do i check if a disk is inserted more or less easily?

Please, reply to my email too, since i am not subsribed to
hardware (i am flooded with other lists already).

Artem



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007001c07cb2$65357900$0c00a8c0>