Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 11:36:55 +0200
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: disassembler
Message-ID:  <20100827113655.78d8973b@ernst.jennejohn.org>
In-Reply-To: <AANLkTikb_Zge=Wr1-%2BpN-gZQxZ0AehO1ysUuyJSGq5su@mail.gmail.com>
References:  <AANLkTin%2BThKcG1n4-xVDbbj4N9VWq2BakunNxGT6S329@mail.gmail.com> <4C7726F0.10001@erdgeist.org> <AANLkTi=q2qMSHPMGG6G57-cnSnxtX2M114iOscid=c7T@mail.gmail.com> <AANLkTi=4JTTATFWF3XSQraWVt4a0Lk214EMyWvDrF4=j@mail.gmail.com> <4C776025.8000609@gmail.com> <AANLkTikb_Zge=Wr1-%2BpN-gZQxZ0AehO1ysUuyJSGq5su@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Aug 2010 02:53:53 -0400
Aryeh Friedman <aryeh.friedman@gmail.com> wrote:

> No the issue is a drive that has roughly 10 years of work on it died
> and I was asked to see if it is readable/reviable... I already know
> the format of the MBR but I need to also read the code to see if
> something is wakey (I have written MBR's {with inline assemble in GCC)
> for an OS I am working on but never disambled one)
> 
> On Fri, Aug 27, 2010 at 2:50 AM, Jim Bryant <kc5vdj.freebsd@gmail.com> wrote:
> > umm, dude....
> >
> > you writing a boot sector virus or something?
> >
> > funny though....
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/boot-boot0.html
> >
> > given your skill and goals are questionable, you can find it in the source
> > tree yourself.
> >
> > Aryeh Friedman wrote:
> >>
> >> On Thu, Aug 26, 2010 at 11:36 PM, Aryeh Friedman
> >> <aryeh.friedman@gmail.com> wrote:
> >>
> >>>
> >>> On Thu, Aug 26, 2010 at 10:46 PM, Dirk Engling <erdgeist@erdgeist.org>
> >>> wrote:
> >>>
> >>>>
> >>>> On 27.08.10 04:17, Aryeh Friedman wrote:
> >>>>
> >>>>
> >>>>>
> >>>>> Is there a disassembler in the base system if not what is a good
> >>>>> option from ports?
> >>>>>
> >>>>
> >>>> Try objdump -d,
> >>>>
> >>>> __erdgeist
> >>>>
> >>>>
> >>>
> >>> flosoft# objdump -d /dev/da0
> >>> objdump: Warning: '/dev/da0' is not an ordinary file

There are quite a few diassemblers under ports but I doubt they're
designed to work on raw disks.

If you just want to save the data then why not plug the disk into
a different box and save them?

--
Gary Jennejohn



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