Hi,

DAVID Henderson wrote:
> There is something wrong regarding the kfreebsd-i386 eject command .

Looking at https://packages.debian.org/sid/eject i see
a common source tarball for Linux and kFreeBSD
http://ftp.de.debian.org/debian/pool/main/e/eject/eject_2.1.5+deb1+cvs20081104.orig.tar.gz

File eject.c has only one provision for __FreeBSD_kernel__:
  #include <sys/cdio.h>
which should define macro CDIOCEJECT.
(e.g. in http://fxr.watson.org/fxr/source/sys/cdio.h?v=FREEBSD92)

This should later trigger the second case of
  #if defined(CDROMEJECT)
          status = ioctl(fd, CDROMEJECT);
  #elif defined(CDIOCEJECT)
          status = ioctl(fd, CDIOCEJECT);

So first one should check whether CDROMEJECT is really not
defined and whether ioctl(fd, CDIOCEJECT) is really performed.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/147551757011236...@scdbackup.webframe.org

Reply via email to