Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 1997 18:33:45 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        Brad Hendrickse <bradh@iafrica.com>
Cc:        Tom Kish <tomk@cmhcsys.com>, questions@FreeBSD.ORG
Subject:   Re: Mounting a DOS filesystem
Message-ID:  <19970813183345.04087@ct.picker.com>
In-Reply-To: <Pine.BSF.3.96.970813075729.18836B-100000@nscfw.iafrica.com>; from Brad Hendrickse on Wed, Aug 13, 1997 at 07:58:21AM %2B0200
References:  <33F0C9A3.A21@cmhc.com> <Pine.BSF.3.96.970813075729.18836B-100000@nscfw.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brad Hendrickse:
 |> When I try mounting my "D:" dos drive which shows up under BSD as
 |> /dev/wd2s1 I get an error saying "invalid type".  The command I use is:
 |> mount -t msdos /dev/wd2s1 /dos_d
 |
 | Try 'mount -t msdos /dev/wd2s5 /dos_d'.  FreeBSD seems to claim the first
 |four slices for itself..

Not really.  The first 4 (s1-s4) are the primary partitions (FreeBSD calls 
them slices) that are stored in the disk MBR.  An extended partition picks 
up at s5.

If D: is a DOS primary partition, use wd#s1-4 (do a fdisk wd# in FreeBSD
to see what slot its in -- probably the first -- s1).  If its a
DOS extended partition (DOS fdisk will tell you this), use wd#s5.  If
the latter, don't forget to "cd /dev; sh MAKEDEV wd#s5".

And as I mentioned in my other reply, wd2 is your third disk, not your 
second.  If you meant your second, use wd1s# for the slice name instead.

Randall Hopper




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970813183345.04087>