From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267438AbUIOVkA (ORCPT ); Wed, 15 Sep 2004 17:40:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267543AbUIOViE (ORCPT ); Wed, 15 Sep 2004 17:38:04 -0400 Received: from soundwarez.org ([217.160.171.123]:30878 "EHLO soundwarez.org") by vger.kernel.org with ESMTP id S267438AbUIOVeA (ORCPT ); Wed, 15 Sep 2004 17:34:00 -0400 Subject: Re: [patch] kernel sysfs events layer From: Kay Sievers To: Robert Love Cc: Greg KH , akpm@osdl.org, linux-kernel@vger.kernel.org In-Reply-To: <1095283614.23385.119.camel@betsy.boston.ximian.com> References: <20040906020601.GA3199@vrfy.org> <20040910235409.GA32424@kroah.com> <1094875775.10625.5.camel@lucy> <20040911165300.GA17028@kroah.com> <20040913144553.GA10620@vrfy.org> <20040915000753.GA24125@kroah.com> <1095211167.20763.2.camel@localhost> <20040915034455.GB30747@kroah.com> <20040915194018.GC24131@kroah.com> <1095279043.23385.102.camel@betsy.boston.ximian.com> <20040915212110.GA25840@kroah.com> <1095283614.23385.119.camel@betsy.boston.ximian.com> Content-Type: text/plain Date: Wed, 15 Sep 2004 23:34:02 +0200 Message-Id: <1095284043.3508.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 1.5.94.1 (1.5.94.1-1) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2004-09-15 at 17:26 -0400, Robert Love wrote: > On Wed, 2004-09-15 at 14:21 -0700, Greg KH wrote: > > > Doh! You're right. Here's Kay's patch ported to the new interface, and > > adding a umount event type. I've applied it to my trees. > > I am actually thinking that Kay's approach is less than ideal, since it > does not catch all mounts and unmounts. I was only looking from the sysfs side and want the event for a block device. A generic mount notification was not on the plan that time and will also not fit in the current kobject picture. We may name it "claim" and "release" if you like that more. Kay