Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 1997 18:38:52 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        sja@tekla.fi (Sakari Jalovaara)
Subject:   Re: Error Message (mounting a DOS partition)
Message-ID:  <Mutt.19970201183852.j@uriah.heep.sax.de>
In-Reply-To: <19142.854812499@time.cdrom.com>; from Jordan K. Hubbard on Feb 1, 1997 07:54:59 -0800
References:  <9702010912.AA26068@poveri.tekla.fi> <19142.854812499@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Jordan K. Hubbard wrote:

> > /dev/wd0s3 is DOS D: and can NOT be mounted from FreeBSD.
> 
> No, /dev/wd0s3 is NOT DOS D:. :-)
> 
> /dev/wd0s4 is DOS D:.

Only in rare cases. :-)

Slice number 0 never appears in a name, since it's an alias for the
non-sliced device (or compatibility slice), like in /dev/wd0a.

Slices number 1 through 4 are hard-coded for the four standard fdisk
table slots, regardless of whether they're actually in use or not.  So
unless you have created e.g. DOS drive C: in slot #3 and another DOS
slice in #4, /dev/wd0s4 is not drive D:.  (The DOS tools IMHO don't
let you create two DOS slices in the primary fdisk table, although
they are able to use them.)

``Extended partitions'' start with slice number 5 in FreeBSD, and
their slice entries are only valid if there's indeed something to map.
So, DOS drive D: is most likely /dev/[r]wd0s5.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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