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

From: H. Peter Anvin
Date: Tue Mar 25 2008 - 16:38:39 EST


Randy Dunlap wrote:

Come on people, adding symlinks for device major:minor numbers in sysfs
to save a few 10s of lines of userspace code? Can things get sillier?

You can add a single udev rule to probably build these in a tree in /dev
if you really need such a thing...

And what's wrong with your new ioctl recomendation?

Ah, there's some sanity. :)


It's not so much an issue of a few tens of lines of user space code, but rather the fact that something that should be O(1) is currently O(n).

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