Re: BLKSSZGET change will break fdisk

From: Andries Brouwer (aeb@veritas.com)
Date: Mon Oct 16 2000 - 17:53:40 EST


On Tue, Oct 17, 2000 at 12:02:01AM +0200, Roman Zippel wrote:

> Why don't we give BLKSSZGET a new number and make the old one obsolete?

But you see that one would need a new name as well,
otherwise the value associated with BLKSSZGET would
depend on the kernel version, and one would need
version checks anyway.

I think all this is too unimportant. Almost nobody uses
this stuff, and 2.4 is correct, and we may fix 2.2 one
of these days, perhaps for 2.2.19, and we may fix *fdisk
to correctly use it.

(By the way, have you checked that replacing get_sectorsize
by an empty routine, and specifying a -b option, works well?)

(Do you know which disks have unusual sector size?
So far I had only seen reports on a Fujitsu 640 MB.
Have you seen other sectorsizes than 512, 1024, 2048
on non-IBM disks?)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:10 EST