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

From: H. Peter Anvin
Date: Wed Mar 26 2008 - 02:05:48 EST


Tejun Heo wrote:

Since when is the major:minor view of devices the "standard" one that
userspace uses? Last I looked, userspace uses symlinks and lots of
other ways of directly accessing block devices in /dev/, and does not
rely on major:minor.

The fact that major:minor is the unique identifier of a device makes it
a bit special compared to other names on filesystem.


In particular, stat() and friends returns the device number, not a device name.

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