Subject: Re: weird mount command
To: None <netbsd-help@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 12/17/2003 00:29:30
On Tue, Dec 16, 2003 at 11:53:58PM +0100, Jukka Salmi wrote:
> Hello,
> 
> on a i386 system running NetBSD stable (1.6.2_RC3) NetBSD is installed
> on wd1; wd0 has no NetBSD partition, no disklabel, but a MBR. Sometimes
> I need to mount a filesystem from within an extended MBR partition on
> wd0. To do so I use the following command:
> 
> $ ( mbrlabel -w wd0 ; mount -t ext2fs /dev/wd0k /mnt/tmp ) < /dev/rwd0d
> 
> If I don't redirect stdin from the disk until after mbrlabel and mount
> return I get 'Device not configured'.
> 
> It works, but... Does anybody have a real solution to this?

Use current!

1) mbrlabel sets the label as 'sticky'
2) you don't need to use mbrlabel because the kernel will find the
   extended partitions itself.


	David

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