Opened 2 years ago

Last modified 13 months ago

#13918 new bug

Disk geometry reporting is not correct

Reported by: sfanxiang Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


ioctl(B_GET_GEOMETRY) always reports 1 for heads and cylinders.

For example, Haiku might say a disk's geometry is 1/1/30720000 while linux says 15000/64/32. The information seems to be abstracted away somewhere.

Bug discovered:

Change History (1)

comment:1 by pulkomandy, 13 months ago

For most modern disks the cylinder/head/sector layout is nonsense. The disks usually have more sectors in the outer cylinders than the inner ones. Not to mention SSDs where there are no cylinders and heads at all.

So I'd say as long as we get the correct total sector count, we're fine.

Note: See TracTickets for help on using tickets.