Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261151AbTHZPpp (ORCPT ); Tue, 26 Aug 2003 11:45:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261274AbTHZPpp (ORCPT ); Tue, 26 Aug 2003 11:45:45 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:10426 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S261151AbTHZPpl (ORCPT ); Tue, 26 Aug 2003 11:45:41 -0400 Date: Tue, 26 Aug 2003 17:45:14 +0200 From: Jens Axboe To: Samphan Raruenrom Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, Linux TLE Team , Marcelo Tosatti Subject: Re: [Rdi1] Re: [PATCH] Add MOUNT_STATUS ioctl to cdrom device Message-ID: <20030826154514.GA30357@suse.de> References: <3F4A53ED.60801@nectec.or.th> <20030825195026.A10305@infradead.org> <3F4B0343.7050605@nectec.or.th> <20030826083249.B20776@infradead.org> <3F4B23E2.8040401@nectec.or.th> <20030826105613.A23356@infradead.org> <20030826095830.GA20693@suse.de> <3F4B44C2.4030406@nectec.or.th> <20030826145821.A26398@infradead.org> <3F4B7D7B.50401@nectec.or.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4B7D7B.50401@nectec.or.th> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/