Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 11:06:02 -0400
From:      Ean Kingston <ean@hedron.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Using FreeBSD to examine/work on a Solaris disk
Message-ID:  <200506221106.02803.ean@hedron.org>
In-Reply-To: <44hdfqjwop.fsf@be-well.ilk.org>
References:  <s2b7fed3.042@gw.parkview.com> <44hdfqjwop.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On June 22, 2005 10:25 am, Lowell Gilbert wrote:
> "Wesley Groleau" <Wesley.Groleau@parkview.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506221106.02803.ean>