From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 15:05:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D9BB116A41C for ; Wed, 22 Jun 2005 15:05:43 +0000 (GMT) (envelope-from ean@hedron.org) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD3B43D1F for ; Wed, 22 Jun 2005 15:05:43 +0000 (GMT) (envelope-from ean@hedron.org) Received: from localhost.hedron.org (localhost.hedron.org [127.0.0.1]) by prosporo.hedron.org (Postfix) with ESMTP id 95448C2DD for ; Wed, 22 Jun 2005 11:06:03 -0400 (EDT) From: Ean Kingston To: freebsd-questions@freebsd.org Date: Wed, 22 Jun 2005 11:06:02 -0400 User-Agent: KMail/1.8 References: <44hdfqjwop.fsf@be-well.ilk.org> In-Reply-To: <44hdfqjwop.fsf@be-well.ilk.org> X-Face: W{mkf[fd1042ubL1FZ(CABIMzn~rdu<:SW\^LF_RB' Subject: Re: Using FreeBSD to examine/work on a Solaris 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: Wed, 22 Jun 2005 15:05:44 -0000 On June 22, 2005 10:25 am, Lowell Gilbert wrote: > "Wesley Groleau" writes: > > I have an i386 FreeBSD 5.4 I've stuck a disk from a Sun Ultra 10 on the > > ATA0 slave. > > > > If possible, I'd like to mount it to see what's what. > > > > (and tweak some /etc files so I can get into the Sun). > > > > Is there an fstype to mount the disk? Or even a way to see the > > partition table? Nope. FreeBSD does not support the SUN filesystem. SUN does not use a PC type partition table (called slices in FreeBSD terminology) on Sparc systems (which the Ultra 10 is). And, as Lowell mentioned, there is the endian issue. > > All the ones I tried wouldn't work. FreeBSD does recognize there is a > > disk there. Good the disk works. > > Of course, I can't be sure it's Solaris---previous owner might have > > been into Linux/BSD/whatever. If you want to learn a lot about filesystems, you could spend the next year writing a program to access the raw disk device and start picking apart the contents of the disk one block/byte at a time. > To start with, there's probably a problem with endianness (on the > metadata structures). Even if the Sun ran FreeBSD, that would still > apply. I'd estimate that this is about the level of a semester > project for an undergraduate programmer... -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly.