Messages in this thread | | | Date | Tue, 25 Mar 2008 23:04:49 -0700 | From | "H. Peter Anvin" <> | Subject | Re: What to do about the 2TB limit on HDIO_GETGEO ? |
| |
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
| |