Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 22:07:30 -0500 (CDT)
From:      Jason Godfrey <godfreja@dalamar.cs.uwec.edu>
To:        David Shanes <dshanes@personalogic.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Mounting MS-DOS partition
Message-ID:  <Pine.LNX.3.96.980819215211.11837C-100000@dalamar.cs.uwec.edu>
In-Reply-To: <00e401bdcbd1$77d086c0$1d43a8c0@shanes.personalogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Aug 1998, David Shanes wrote:

> OK, so I installed 2.2.6 a while ago and am just starting to play with it
> again. What is the command to mount the second partition on my primary hard
> drive to /dos? First partition is NTFS, second is FAT, subsequent is
> FreeBSD.
(Assuming IDE)

mount -t msdos /dev/wd0s2 /dos should do it for you.

(About 80% confidence that wd0s2 is your DOS partition)

> 
> Second, how do I get it to automatically mount every time I log in? Does it
> go in my .cshrc file?
> 
> mount_msdos /dev/???? /dos
> 
> or
> 
> mount -t msdos /dev/???? /dos
> 

Well, if you are logging in as root you could do that, but there
is a better approach. To have the dos parition mounted on boot add the
following line to /etc/fstab

/dev/wd0s2              /dos	        msdos   rw              0       0

------------------------------------------------------------------------
Jason Godfrey					godfreja@acm.cs.uwec.edu
FreeBSD - The Power to Serve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980819215211.11837C-100000>