Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 9 Oct 2002 14:00:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 9 Oct 2002 13:59:00 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:1220 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Wed, 9 Oct 2002 13:58:50 -0400 Date: Wed, 9 Oct 2002 14:04:30 -0400 (EDT) From: Alexander Viro To: Patrick Mochel cc: Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [bk/patch] driver model update: device_unregister() In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 22 On Wed, 9 Oct 2002, Patrick Mochel wrote: > What describes partitions, struct hd_struct? By adding a struct > driver_dir_entry (yes, crappy name; will change) and a bit of glue logic, > we can create driverfs directories for them, and start adding attributes > to the partitions themselves. _What_ attributes? List of PIDs that hold it open? List of for all SCM_RIGHTS cookies that happen to pass opened file for that partition around? Guys, you are overengineering for no good reason, AFAICS. There is a good reason why fuser(1) sits in userland and is not done as a property list for open file. It's exactly the same situation. - 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/