Bug#471504: util-linux: MAX_HEADS in cfdisk to small

2008-03-19 Thread Rudy Gevaert
Hello, LaMont Jones wrote: I suppose it's possible that fdisk could clamp heads at 255 in passing the geometry down, but the real solution is to allow more heads in the geometry ioctl. fdisk also happily accepts my larger value when I re-enter cylinder/head/track information. (To sketch my

Bug#471504: util-linux: MAX_HEADS in cfdisk to small

2008-03-18 Thread Rudy Gevaert
LaMont Jones wrote: On Tue, Mar 18, 2008 at 04:29:45PM +0100, rudy gevaert wrote: It is not possible to use cfdisk on disks that have more than 255 heads. Our storage system advises to use 256 heads. Changing MAX_HEADS in cfdisk.h to a higher number lets us use cfdisk. Even with the change, i

Bug#471504: util-linux: MAX_HEADS in cfdisk to small

2008-03-18 Thread rudy gevaert
Package: util-linux Version: 2.12p-4sarge1 Severity: important Subject: util-linux: cfdisk disk MAX_HEADS to small Package: util-linux Version: 2.12p-4sarge1 Severity: important Hi, It is not possible to use cfdisk on disks that have more than 255 heads. Our storage system advises to use 256 he

Bug#471504: util-linux: MAX_HEADS in cfdisk to small

2008-03-18 Thread LaMont Jones
reopen 471504 -- On Tue, Mar 18, 2008 at 05:19:10PM +0100, Rudy Gevaert wrote: > LaMont Jones wrote: > I see that in hdreg.h the unsigned char has an effect, but it is not clear > how that effects me... > > Could explain a bit more? That's cfdisk passing the geometry to the kernel. If it's work