summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 08:04:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 08:04:07 -0700
commit34d211a2d5df4984a35b18d8ccacbe1d10abb067 (patch)
treeaac4a192b633860419fc2429d6c8b37beb3390a5 /arch/x86/kernel
parentbab1d9444d9a147f1dc3478dd06c16f490227f3e (diff)
Increase OSF partition limit from 8 to 18
It turns out that while a maximum of 8 partitions may be what people "should" have had, you can actually fit up to 18 entries(*) in a sector. And some people clearly were taking advantage of that, like Michael Cree, who had ten partitions on one of his OSF disks. (*) The OSF partition data starts at byte offset 64 in the first sector, and the array of 16-byte partition entries start at offset 148 in the on-disk partition structure. Reported-by: Michael Cree <mcree@orcon.net.nz> Cc: stable@kernel.org (v2.6.38) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions