From owner-freebsd-questions Wed Aug 19 20:07:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29828 for freebsd-questions-outgoing; Wed, 19 Aug 1998 20:07:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dalamar.cs.uwec.edu (dalamar.cs.uwec.edu [137.28.109.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29823 for ; Wed, 19 Aug 1998 20:07:51 -0700 (PDT) (envelope-from godfreja@dalamar.cs.uwec.edu) Received: from localhost (godfreja@localhost) by dalamar.cs.uwec.edu (8.8.7/8.8.7) with SMTP id WAA13520; Wed, 19 Aug 1998 22:07:30 -0500 Date: Wed, 19 Aug 1998 22:07:30 -0500 (CDT) From: Jason Godfrey To: David Shanes cc: questions@FreeBSD.ORG Subject: Re: Mounting MS-DOS partition In-Reply-To: <00e401bdcbd1$77d086c0$1d43a8c0@shanes.personalogic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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