Subject: Re: access FS on disk without disk label
To: None <netbsd-help@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 07/14/2003 22:27:02
On Mon, Jul 14, 2003 at 11:06:21PM +0200, Jukka Salmi wrote:
> Hi,
> 
> I'd like to access a ext2 file system from within NetBSD. The ext2
> partition is located on a disk which is not used by NetBSD (wd0) and
> therefore does not have a disk label.
> And that's exactly what disklabel complained about ....

You need the option to disklabel to write the in-core label
without updating the on-disk one.  Unfortunately this is in the
same set of options (ie unimplemented) as the one to write the
on-disk label without updating the in-core one.

If the disk has an mbr (sounds like it does) look into mbrlabel(8)
and dkctl(8).

Alternatively update to a very recent version of i386 current
(which will generate a default label containing the mbr partitions).

	David

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