From owner-freebsd-sparc64@FreeBSD.ORG Fri Sep 23 13:40:33 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 6BDDC106564A for ; Fri, 23 Sep 2011 13:40:33 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id F3FA18FC0C for ; Fri, 23 Sep 2011 13:40:32 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 9F92748; Fri, 23 Sep 2011 15:40:31 +0200 (MET DST) Date: Fri, 23 Sep 2011 15:40:31 +0200 From: Joerg Wunsch To: Anton Shterenlikht Message-ID: <20110923134031.GX45024@uriah.heep.sax.de> References: <20110923090639.GA54307@mech-cluster241.men.bris.ac.uk> <20110923131052.GW45024@uriah.heep.sax.de> <20110923132823.GA3053@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110923132823.GA3053@mech-cluster241.men.bris.ac.uk> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) 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 Reply-To: Joerg Wunsch 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:40:33 -0000 As Anton Shterenlikht wrote: > > 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 had to boot my Sparc machine to find out. ;-) Try "kldload geom_mbr". Unlike on the AMD64, this is probably not part of a standard kernel on FreeBSD/sparc64. > I need this usb stick to be recognised by Windows systems, > so I guess I have to format is with fdisk first? Well, it's already got an fdisk slice table, as you can see on the AMD64 machine. You just have to make sure that the UFS access did not already corrupt something in the FAT filesystem. It's probably best to start over with a fresh "newfs_msdos /dev/da0s1", I think. > 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? Yes, it is. The only question is where (and why) you UFS formatted it on the Sparc. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)