Subject: weird mount command
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 12/16/2003 23:53:58
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?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~