Subject: Re: seeing multiple dos partitions
To: None <mcmahill@mtl.mit.edu>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-i386
Date: 02/18/2000 16:15:15
On Fri, Feb 18, 2000 at 10:08:39AM -0500, mcmahill@mtl.mit.edu wrote:
> I have a NetBSD-1.4.1 i386 with 2 drives. wd0 has several (3 or 4)
> dos/win95 partitions and wd1 is all NetBSD. I was wanting to grab
> something off one of the wd0 partitions without booting win95. So I did
> disklabel to find out which partition to mount and get:
> 8 partitions:
> # size offset fstype [fsize bsize cpg]
> d: 21095424 0 unused 0 0 # (Cyl. 0 -
> 20927)
> e: 4192902 63 MSDOS # (Cyl. 0*-
> 4159*)
> f: 12241530 4192965 unused 0 0 # (Cyl. 4159*-
[...]
> when I mount /dev/wd0e I see that its only the "C:" drive.
>
> So how do I get to the others (my stuff is on the "D:" drive)?
The other partitions are (in DOS-terms) "extended partitions", the kernel
doesn't know/care about those.
I haven't used it myself, but from reading its manpage I think
mbrlabel(8) should be able to do what you need.
--
Dies ist Thilos Unix Signature! Viel Spass damit.