From owner-freebsd-questions Mon Jul 15 11:39:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29790 for questions-outgoing; Mon, 15 Jul 1996 11:39:22 -0700 (PDT) Received: from jbrann.dialup.access.net (jbrann.dialup.access.net [166.84.193.118]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA29778 for ; Mon, 15 Jul 1996 11:39:14 -0700 (PDT) Received: (from jbrann@localhost) by jbrann.dialup.access.net (8.7.5/8.7.3) id OAA07402; Mon, 15 Jul 1996 14:41:19 -0400 (EDT) Message-Id: <199607151841.OAA07402@jbrann.dialup.access.net> Subject: Re: MSDOS file systems.s To: jjal@remus.rutgers.edu (Joshua Lambert) Date: Mon, 15 Jul 1996 14:41:19 -0400 (EDT) Cc: questions@freebsd.org (freeq) In-Reply-To: <199607140606.CAA24694@remus.rutgers.edu> from Joshua Lambert at "Jul 14, 96 02:06:54 am" From: John Brann Reply-To: John Brann Organisation: Not while I'm at home X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Joshua Lambert wrote... > How would I go about mounting a msdos filesystem on HD 0 Partition 1.on-a > I have figured out how to mount a floppy but what is he device name for theave > HD? BTW, how can I use the handbook? It's on my HD... > I can't access it. It says permission denied. And I'm using root.' > thanks./ > 'mount -t msdos /dev/wd0s1 /dos' Make sure there _is_ a directory /dos. The special device - wd0s1 is made up of the following parts: wd - IDE / EIDE (from Western Digital, I guess) 0 - first disk (second is 1, and so on) s1 - Slice 1 - first partition. Your kernel must have MSDOS filesystem support (GENERIC does). If you want the partition maounted automatically, at boot, add the following to '/etc/fstab' /dev/wd0s1 /dos msdos rw 0 0 This sets the filesystem read-write. BE CAREFUL - there are many cases where FreeBSD writing to the DOS partition has caused corruption. I haven't suffered, myself, but... John -- Beavis and Butt-Head; Vladimir and Estragon for the '90s. finger jbrann@panix.com for pgp public key