RE: eject on Cygwin?

Voelker, Bernhard
2012-04-23T09:49:42Z

Karel Zak wrote:

> On Mon, Apr 23, 2012 at 11:31:11AM +0200, Voelker, Bernhard wrote:
> > Is there a specific reason for this line in configure.ac?
> > UL_REQUIRES_LINUX([eject])
> >
> > Can't Cygwin handle /dev/scd0 correctly?
>
> I don't know, the code also depends on /sys to detect if the device
> is removable, it calls umount(2) syscall, etc.

okay, thanks.
Anyway, porting u-l to cygwin is not much fun anymore,
e.g. due to new close_stdout() which needs __fpending, and
lib/randutils.c needs sys/syscall.h to check if __NR_gettid
is defined etc.

Have a nice day,
Berny