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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Lord
Date: Tuesday, March 25, 2008 - 6:34 am

Linus Torvalds wrote:
..

Yeah.  Except Dell will undoubtedly have them in desktops
within 2 years, and tons of people (myself included) still use
32-bit (K)Ubuntu on our systems, simply for the better binary 
compatibility that it is perceived to give with things like
browser plugins and stuff.

Using sysfs interfaces might be a good alternative,
if they were easier to use, but drives are not directly
accessible there using the dev_t value from stat(2).

Instead, software has to search everything inside /sys/block/
looking for a "dev" file whose contents match,
rather than just trying to access something like this:

   /sys/block/8:1/start
or
   /sys/block/majors/8/minors/1/start

Or any one of a number of similar ways to arrange it.

Cheers
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Mark Lord, (Tue Mar 25, 6:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Greg Freemyer, (Tue Mar 25, 6:51 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 7:31 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Andrew Paprocki, (Tue Mar 25, 8:25 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Matthew Wilcox, (Tue Mar 25, 8:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 8:48 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 9:47 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 1:51 pm)