*BSD News Article 73707


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mounting a dos partition
Date: 14 Jul 1996 10:49:07 -0000
Organization: A FreeBSD Box
Lines: 20
Message-ID: <4sajb3$th@jraynard.demon.co.uk>
References: <4s8uug$gj7@crow.cybercomm.net>
NNTP-Posting-Host: localhost
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <4s8uug$gj7@crow.cybercomm.net>, glen <gi143@cybercomm.net> wrote:
>Does anyone know how to mount a dos partition.  I do not see a msdos
>file system anywhere.  Thank you very much.  

mount -t msdos /dev/xdxsx /mnt

where xdxsx is the appropriate device for the DOS partition (eg wd0s1
for the first slice on an IDE disk).

Warning - do *not* do this if the DOS partition was shrunk using
'fips'.  This can trigger some nasty bugs in FreeBSD's DOS support
which can cause filesystem corruption.

A much safer way of doing this is to install the mtools package, which
also allows you to use DOS-style syntax to access the partition.

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk
http://www.freebsd.org/~jraynard/