Re: [Rdi1] Re: [PATCH] Add MOUNT_STATUS ioctl to cdrom device

Jens Axboe
2003-08-26T15:45:45Z

On Tue, Aug 26 2003, Samphan Raruenrom wrote:
> GNOME automounter that use the new "event status notification" and also
> let users eject their CDs -
> "without polling" - possible?
> It must be real cool to write such daemon (polling make any hacker feel
> guilty).

I don't want to burst your bubble, but you still have to poll when using
event status notification. You didn't note that the name of my program
was cd_poll.c? ;-)

But the poll is much quicker and more reliable.

--
Jens Axboe