Re: What to do about the 2TB limit on HDIO_GETGEO ?

From: James Bottomley
Date: Tue Apr 15 2008 - 10:20:26 EST


On Tue, 2008-04-15 at 00:18 -0700, Andrew Morton wrote:
> On Fri, 11 Apr 2008 16:25:32 -0700 "Dan Williams" <dan.j.williams@xxxxxxxxx> wrote:
>
> > > It doesn't really seem to be to belong under class at all. I would suggest
> > > /sys/dev/char/ and /sys/dev/block/, for char and block respectively.
> > >
> >
> > This thread fizzled out without a patch... here goes:
> >
> > ...
> >
> > sysfs: add /sys/dev/{char,block} to lookup sysfs path by major:minor
>
> Crickets are chirping and I can't remember what the conclusion to all this
> was. In fact the thread was more than ten-deep so I probably fell asleep.
>
> I queued it up so that others cannot do the same ;)

The expressed preference was simply to expand the ioctl (or add a new
one that got the required information without having to go through the
old HDIOGETGEO path to extract the value from a fictitious geometry).

Greg was a bit sceptical of the value of the above proposal ...

James


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