]> git.hungrycats.org Git - linux/commit
[PATCH] kill HDIO_GETGEO_BIG_RAW ioctl
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Thu, 14 Aug 2003 02:15:35 +0000 (19:15 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 14 Aug 2003 02:15:35 +0000 (19:15 -0700)
commite71c941373c20e82a5f3eb2757ac3f0e726c1166
tree393112c4efea51d02fe9d1cb598ffc40a1e8090b
parent5ae1a1f80828f6c15d1c1840f77fec48d6bbb3a5
[PATCH] kill HDIO_GETGEO_BIG_RAW ioctl

HDIO_GETGEO_BIG_RAW is an ide specific hack introduced in 2.3.99-pre3.
There are no known programs using this ioctl.

Its aim was to provide current CHS translation to the user-space,
but very often it provides what driver thinks is a current translation
(drive with LBA have to support only one physical translation, also
 drive may not support chosen translation and there is no return value check).

hdparm -I can be used instead, it provides correct information
(and bogus data is still accessible through /proc/ide/hdX/geometry).
arch/ppc64/kernel/ioctl32.c
arch/sparc64/kernel/ioctl32.c
drivers/ide/ide.c
include/linux/hdreg.h