login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Jens Axboe <axboe@...>, Jeff Garzik <jgarzik@...>, Tejun Heo <htejun@...>, Greg KH l <gregkh@...>, Andrew Morton <akpm@...>, Linux Kernel <linux-kernel@...>, IDE/ATA development list <linux-ide@...>, linux-scsi <linux-scsi@...>
Date: Tuesday, March 25, 2008 - 9: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, 9:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 10:31 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Matthew Wilcox, (Tue Mar 25, 11:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 11:48 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 12:47 pm)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 4:51 pm)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Andrew Paprocki, (Tue Mar 25, 11:25 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Greg Freemyer, (Tue Mar 25, 9:51 am)
speck-geostationary