From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 00:27:34 2010 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 2715F106566B for ; Thu, 19 Aug 2010 00:27:34 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 1155F8FC16 for ; Thu, 19 Aug 2010 00:27:33 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.223]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Aug 2010 17:27:33 -0700 Message-ID: <4C6C7A72.7020208@a1poweruser.com> Date: Thu, 19 Aug 2010 08:27:30 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Glen Barber References: <4C6BE659.2080006@a1poweruser.com> <4C6BE820.6020303@gmail.com> In-Reply-To: <4C6BE820.6020303@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Aug 2010 00:27:34.0107 (UTC) FILETIME=[515D32B0:01CB3F35] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: fix bad directory on FAT32 usb disk 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: Thu, 19 Aug 2010 00:27:34 -0000 Glen Barber wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 8/18/10 9:55 AM, Fbsd8 wrote: >> I have a fat32 usb disk that gives this error when mounting with >> mount_msdosfs /dev/da0s1 "bad fat32 file system" >> >> Is there some way to clean or auto fix this fat32 file system so it will >> mount? > > Hi, > > You can try fsck_msdosfs(8). Does it mount in other OSes? > > Regards, > > - -- > Glen Barber In XP I can access the usb hard drive and read/write all directories except one which gives a error. fsck_msdosfs /dev/da0 gives error "Invalid sector size 48764"