Re: [bk/patch] driver model update: device_unregister()

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Oct 09 2002 - 13:04:30 EST


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 <something>
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:32 EST