Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MSDOS vs diskabel regression in -4, -5 and -current
On Fri, Feb 06, 2009 at 03:49:46PM +0000, Stephen Borrill wrote:
> I've been asked to try to get an Olympus camera working again after an
> upgrade to NetBSD 4.0_STABLE. On NetBSD 3.1, the fictitious disklabel
> correctly has an MSDOS partition as partition e (and thus can be easily
> mounted with mount_msdos /dev/sd0e /mnt). On NetBSD 4.0 and later, the
> fdisk partition table appears subtly different and no MSDOS partition is
> seen in disklabel; rather there is a 4.2BSD partition as partition a.
> sd0: fabricating a geometry
> sd0: mbr partition exceeds disk size
I suspect this is the cause of the problem.
The code is validating the mbr data against the reported media size,
detecting that it is invalid so ignoring the mbr.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index