Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 22:54:27 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Roland Smith <rsmith@xs4all.nl>, freebsd-questions@freebsd.org, Colin Brace <cb@lim.nl>
Subject:   Re: error mounting USB disk: Invalid argument
Message-ID:  <Pine.BSF.3.96.1080531224316.14800A-100000@gaia.nimnet.asn.au>
In-Reply-To: <20080531120022.4C152106568E@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 May 2008 13:29:26 +0200 (CEST)
  Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1080531224316.14800A-100000>