From owner-freebsd-sparc64@FreeBSD.ORG Fri Sep 23 13:29:00 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD34106566C for ; Fri, 23 Sep 2011 13:29:00 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id EEF418FC08 for ; Fri, 23 Sep 2011 13:28:59 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1R75o7-0003Md-PT; Fri, 23 Sep 2011 14:28:53 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1R75nk-00025H-CW; Fri, 23 Sep 2011 14:28:24 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id p8NDSOPr003081; Fri, 23 Sep 2011 14:28:24 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id p8NDSO63003080; Fri, 23 Sep 2011 14:28:24 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 23 Sep 2011 14:28:24 +0100 From: Anton Shterenlikht To: Joerg Wunsch Message-ID: <20110923132823.GA3053@mech-cluster241.men.bris.ac.uk> References: <20110923090639.GA54307@mech-cluster241.men.bris.ac.uk> <20110923131052.GW45024@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110923131052.GW45024@uriah.heep.sax.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: mount usb flash drive - files inconsistent with amd64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 13:29:00 -0000 On Fri, Sep 23, 2011 at 03:10:52PM +0200, Joerg Wunsch wrote: > As Anton Shterenlikht wrote: > > > What's going on? > > Is this expected? > > Or has this flash drive got corrupted somehow? > > My guess is that you've mixed two filesystems on it, a UFS on the > entire stick, and a FAT fs on a slice. The AMD64 cannot mount the UFS > because of the reverse byte order. On the Sparc, are you sure you > actually enabled fdisk partitions? I've no idea I had to do this, so I guess no. Where can I read more about enabling fdisk partitions on sparc? I need this usb stick to be recognised by Windows systems, so I guess I have to format is with fdisk first? I definitely haven't done it manually. So I guess when I wrote data on it on a Windows system, the FAT slice was created by Windows. Is this likely? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423