Opened 3 years ago

Closed 3 months ago

Last modified 3 months ago

#13918 closed bug (no change required)

Disk geometry reporting is not correct

Reported by: sfanxiang Owned by: nobody
Priority: normal Milestone:
Component: Drivers/Disk Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 (3)

comment:1 by pulkomandy, 20 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.

comment:2 by waddlesplash, 3 months ago

Resolution: no change required
Status: newclosed

comment:3 by nielx, 3 months ago

Milestone: Unscheduled

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.