*BSD News Article 42136


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!cs.utexas.edu!news.sprintlink.net!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.os.386bsd.questions
Subject: Re: MS-DOS partition mounting.
Date: 6 Feb 1995 04:02:12 -0000
Organization: None
Lines: 27
Message-ID: <3h4704$bb@awfulhak.demon.co.uk>
References: <3gm8ju$p06@jake.esu.edu>
NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Richard Weber (avatar@esu.edu) wrote:
: I have 2 partitions on my WD 340 Cavier (first partition is FreeBSD, 3rd 
: is Dos) and I would like to know how to mount the dos partition while in 
: FreeBSD.  I need to transfer files between the two systems, but it seems 
: the only way that I can possibly do it is by copying them to floppy, and 
: then mounting the floppy drive which I find to be a rather ridiculous 
: solution for this problem.  Any help would be greatly appreciated.

You need to specify a dos partition in you disklabel - mine is:

#        size   offset    fstype   [fsize bsize   cpg]
  a:  2074624  2048000    4.2BSD     1024  8192     0 	# (Cyl. 1000 - 2012)
  b:    71680  4122624      swap                    	# (Cyl. 2013 - 2047)
  c:  2146304  2048000    unused        0     0       	# (Cyl. 1000 - 2047)
  d:  4194685        0    unused        0     0       	# (Cyl.    0 - 2048*)
  h:  1228768       32     MSDOS                    	# (Cyl.    0*- 599*)

(I know, the 'd' size is wrong - it just won't stick!)
Note, DOS fs's start 1Mb past the start of the partition !
man disklabel
man disktab
man fstab

--
Brian <brian@awfulhak.demon.co.uk>

Don't _EVER_ lose your sense of humour....