From owner-freebsd-questions@FreeBSD.ORG Sat May 31 12:54:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26E491065672 for ; Sat, 31 May 2008 12:54:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id AD2488FC0C for ; Sat, 31 May 2008 12:54:47 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id WAA24273; Sat, 31 May 2008 22:54:28 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 31 May 2008 22:54:27 +1000 (EST) From: Ian Smith To: Wojciech Puchar In-Reply-To: <20080531120022.4C152106568E@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Roland Smith , freebsd-questions@freebsd.org, Colin Brace Subject: Re: error mounting USB disk: Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2008 12:54:49 -0000 On Sat, 31 May 2008 13:29:26 +0200 (CEST) Wojciech Puchar wrote: > >> Then: > >> > >> # mount /dev/da0s1c /media/disk6 > >> mount: /dev/da0s1c : Invalid argument > > mount_msdosfs ? Maybe. But then it'd likely be /dev/da0s1 .. Even if it's UFS, you wouldn't want to mount the 'c' partition. Perhaps? 'mount /dev/da0s1a /media/disk6' or da0s1d maybe .. Colin, what does 'fdisk da0' say? How about 'bsdlabel da0s1' ? > > This is caused by the nmount system call returning EINVAL. Quoting from > > mount(2): > > > > [EINVAL] The super block for the file system had a bad magic > > number or an out of range block size. > > > > After partitioning and labeling the disk, did you make filesystems on > > the partitions with newfs? > > > > Roland cheers, Ian