From owner-freebsd-questions Wed Mar 19 15:40:50 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68CD337B401 for ; Wed, 19 Mar 2003 15:40:49 -0800 (PST) Received: from www.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 749F843F75 for ; Wed, 19 Mar 2003 15:40:48 -0800 (PST) (envelope-from oremanj@www.get-linux.org) Received: (qmail 35720 invoked by uid 1001); 19 Mar 2003 23:42:18 -0000 Date: Wed, 19 Mar 2003 15:42:18 -0800 From: Joshua Oreman To: darren_spruell Cc: questions@freebsd.org Subject: Re: Trouble mounting USB pen drive in 4.7 Message-ID: <20030319234218.GB35594@webserver.get-linux.org> References: <3E77A11F.70803@sento.com> <006c01c2eda5$a7f281f0$c4102c0a@viper> <24370.166.70.24.187.1048055928.squirrel@mail1.sento.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24370.166.70.24.187.1048055928.squirrel@mail1.sento.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Mar 18, 2003 at 11:38:48PM -0700 or thereabouts, darren_spruell wrote: > Filesystem = unknown. I am able to mount it under Windows 2000 Pro and in the > past on an identical FreeBSD box. I believe the command I used was 'mount > /dev/rda0 /mnt' and it worked, sometimes. Under Linux it mounts flawlessly > with 'mount /dev/sda /mnt'... > > The device is not partitioned. > > Now all my attempts under FreeBSD end in "...I/O error." To find out the filesystem: # file -s /dev/da0 This will run 'file' on the contents of the drive (-s flag) instead of the drive itself (otherwise, it would say `character device' or something). Some common `mount' commands you could use: If `file' says something about DOS or Windows: # kldload msdosfs # mount_msdosfs /dev/da0 /mnt If `file' says it's UFS: # mount /dev/da0 /mnt If `file' says it's ext2: # kldload ext2fs # mount_ext2fs /dev/da0 /mnt Otherwise, send me the output of the file command above and I'll see what I can do. Notes: 1) If you're running 4.x, replace 'msdosfs' with 'msdos' above. 2) `mount' wants /dev/da0, not /dev/rda0. > -- > Darren Spruell > Sento IS Department > darren_spruell@sento.com Hope this helps, Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message