lkml.org 
[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [bk/patch] driver model update: device_unregister()


On Wed, 9 Oct 2002, Linus Torvalds wrote:

> i
> On Wed, 9 Oct 2002, Alexander Viro wrote:
> >
> > OK, call me dense, but what things are associated with partition aside of the
> > fact that it exists?
>
> Filesystems can be associated with one or more partitions. MD devices are
> associated with one or more partitions.
>

> Not disks. Partitions.

<groan>

Can you explain why "filesystem foo uses device bar" gives an object associated
with bar and "process baz has bar opened" doesn't?

"Associated with" is asymmetric in this case - just as for files and processes
holding them opened. We do have objects for process->file (/proc/<pid>/fd/*)
and we certainly don't have anything like that for other direction.

That's what I'm asking about - do we want to have objects on the _partition_
side of things that would require per-partition directory? Not on the
filesystem/swap/whatnot side...

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

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.210 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site