Re: Question on MAJOR.H

From: Guest section DW (dwguest@win.tue.nl)
Date: Fri Apr 07 2000 - 17:34:30 EST


On Fri, Apr 07, 2000 at 12:38:25PM -0700, H. Peter Anvin wrote:

> > Describe carefully what you need to have (a list of all NWFS partitions?)
> > and where you need it (in user space? in kernel code?). Probably the
> > facilities to get at such information already exist. If not, they can
> > be added.

> Shouldn't this be handled by the partition-detection code anyhow
> (/proc/partitions et al)?

Yes, that is why I say "Probably the facilities already exist".

[But in fact I wrote a lot of partition management code
and put only a bare minimum into the kernel. This just
suffices to do a few things. Adam Richter recently expressed
his satisfaction that it is really possible to remove
all partition reading code from the kernel and do
everything in userspace. Maybe he is the first to actually use
these facilities. However, not everything that is possible
is also convenient - when these facilities really get used, it
will probably be a good idea to add a little more kernel stuff.]

[Something else that is possible today, but used by nobody,
is to have a Linux disklabel on a disk, with first a label
for the disk itself and then a list of partitions and volume
labels for each, independent of the filesystem inside the
partition. I have not really thought about what would be
the most elegant or the most convenient way to make such
things available.]

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:19 EST