Subject: Re: Different disklabels of usbstick on NetBSD2.0.2 i386 and NetBSD3.0RC6 SPARC64
To: Martin Husemann <martin@duskware.de>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 12/20/2005 18:32:30
On Tue, Dec 20, 2005 at 12:20:50PM +0100, Martin Husemann wrote:
> On Tue, Dec 20, 2005 at 09:22:53AM +0100, Holm Spitzer wrote:
> > i have a problem with mounting a msdos partition on an usb memory stick.
> 
> I think you are looking for mbrlabel(8).
> 
> The NetBSD disklabels are not in the same position on-disk for various archs,
> that is one of the reasons we are looking at replacing all the label stuff
> with a more generic "wedges" framework.

Although some of the ports could use the (semi-MI) subr_disk_mbr code
which would generate a default label from the mbr info.
Unfortunately ports with 8 partitions per label cause maximal grief!

	David

-- 
David Laight: david@l8s.co.uk