https://bugzilla.novell.com/show_bug.cgi?id=371657
User kasievers@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371657#c22
Kay Sievers changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |jeffm@novell.com
--- Comment #22 from Kay Sievers 2008-10-07 04:48:28 MDT ---
The "attempt to access beyond end of device" is caused by the kernel partition
table parser, allowing partitions to be created, which pretend to be larger
than the entire physical disk. The result of BLKGETSIZE64 and "size" in sysfs
returns invalid values.
Userspace could find that out by doing the consistency check, the kernel didn't
do, by reading the disk size, reading the start and size of the partition, and
check if it's in the limits of the disk. But doing that sound really like the
wrong solution.
Shouldn't the kernel partition table scanner just prevent the entire and
invalid partition from showing up, or at least limit the partition size to the
physical end of the disk?
Jeff, any idea?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.