From owner-freebsd-questions Fri Dec 6 12:22:07 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA09440 for questions-outgoing; Fri, 6 Dec 1996 12:22:07 -0800 (PST) Received: from eac.iafrica.com (196-7-192-142.iafrica.com [196.7.192.142]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA09435 for ; Fri, 6 Dec 1996 12:22:02 -0800 (PST) Received: (from rnordier@localhost) by eac.iafrica.com (8.7.6/8.6.12) id WAA01481; Fri, 6 Dec 1996 22:16:35 +0200 (SAT) From: Robert Nordier Message-Id: <199612062016.WAA01481@eac.iafrica.com> Subject: Re: mount dos partition In-Reply-To: <199612061902.NAA07713@horton.iaces.com> from "Paul T. Root" at "Dec 6, 96 01:02:45 pm" To: proot@horton.iaces.com (Paul T. Root) Date: Fri, 6 Dec 1996 22:16:33 +0200 (SAT) Cc: hounddog@juno.com, questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (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 Paul T. Root wrote: > In a previous message, Hans N Gruber said: > > I tried to mount my dos partition using the following command line: > > mount -t msdos /dev/wd0 /mnt > > and got message: > > mount: invalid argument. > > A guess, but /dev/wd0 isn't a valid slice. You probably want > /dev/wd0s0, if your first slice is DOS. Paul probably meant mount -t msdos /dev/wd0s1 /mnt ^^ which is most usual. The digit may vary, but the numbering is 1-based. > > > It seems to me that mount_dos should be in /usr/sbin,(???) > > but mine is in /sbin. Copying it to /usr/sbin didn't help > > matters any. What am I doing wrong? Leave it in /sbin. Mount commands belong in the / filesystem. (Otherwise you may have to mount /usr to get at them.) > > Also, what should be in my /mnt directory? It is empty. It should be. Otherwise, stuff in it will just disappear when you mount a filesystem there. Beware of mounting DOS filesystems with cluster sizes greater than 16384, unless you are running 3.0-current. -- Robert Nordier