From owner-freebsd-questions@FreeBSD.ORG Sat Sep 1 23:20:10 2007 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 88AFD16A418 for ; Sat, 1 Sep 2007 23:20:10 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 53C4213C45E for ; Sat, 1 Sep 2007 23:20:10 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.14.1) id l81NK92V052033; Sat, 1 Sep 2007 18:20:09 -0500 (CDT) (envelope-from dan) Date: Sat, 1 Sep 2007 18:20:09 -0500 From: Dan Nelson To: L Goodwin Message-ID: <20070901232009.GA52775@dan.emsphone.com> References: <20070901055527.GA4542@dan.emsphone.com> <432810.6892.qm@web58110.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <432810.6892.qm@web58110.mail.re3.yahoo.com> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org Subject: Re: Problem mounting I-Stick2 USB flash drive 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, 01 Sep 2007 23:20:10 -0000 In the last episode (Sep 01), L Goodwin said: > --- Dan Nelson wrote: > > In the last episode (Aug 31), L Goodwin said: > > > Under FreeBDS 6.2, the following command works for a 256MBMemorex > > > Mini TravelDrive, but not for a 256MB Intelligent Stick > > > (I-Stick): > > > > > > mount_msdosfs /dev/da3s1 /mnt > > > > > > It fails with "mount_msdosfs: /dev/da3s1: No such file or > > > directory". > > > > What does "ls -l /dev/da3*" print? Maybe the filesystem is on a > > different slice. Or, if there's no slices, try mounting /dev/da3 > > directly. > > Mounting /dev/da3 directly worked (thought I had tried that last > night, but must not have). Thanks! > > I don't understand why there is a difference between the two flash > drives (both are FAT). Is there a way to accurately predict what the > mount point should be on these? Not really. An external drive could have filesystems on one or more slices if there's an fdisk partition table, or if it's unpartitioned (like a floppy disk), there will be a single filesystem on the raw disk device itself. One thing you can do is load the glabel module, which will scan new devices and create device nodes based on the filesystem's label. Then you can just mount whatever label appears in /dev/msdosfs/. -- Dan Nelson dnelson@allantgroup.com