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

From: Jens Axboe
Date: Tue Aug 26 2003 - 10:47:02 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/