From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 27 06:53:54 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89EE106564A for ; Fri, 27 Aug 2010 06:53:54 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6062D8FC18 for ; Fri, 27 Aug 2010 06:53:54 +0000 (UTC) Received: by gyg4 with SMTP id 4so1171987gyg.13 for ; Thu, 26 Aug 2010 23:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5Mk37uWK0teWRrd92TAjctqO+YSnZSYDRuwMOzp9w7E=; b=WZ6+6iw7N4ZSaEd88DCKZ2dfo/qHcNFnJ1MShDsiaaQ3ia9t2OdX6/NP+Oe+kipZPg RpqrleZB8nLcqWF45ne5JNdgm0ZMi4xUvanPLlkQAnnvduXb+b/x5JxzPE2wq96jqHkg EK0Nve0PrkIsIqLvtBFm6z3LeHxZ3z/VKEkyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s+3Tc7TA5m7wf1DY2Tq9PaN4t09iAtflt4P7RJjiCnDC7CbsaEkiXH0hFoB3rRtKzO 8jGMS2IDmEYOr8pEK5C0LYGr0/GpDIdDVOLZDd+Tu5l/grqJNI3OsvUaITq+wk0XA7ng WFf7zzB5mzYBTRnRP3S/m/YH05oC2Z9psCuic= MIME-Version: 1.0 Received: by 10.100.226.3 with SMTP id y3mr349827ang.188.1282892033655; Thu, 26 Aug 2010 23:53:53 -0700 (PDT) Received: by 10.231.184.223 with HTTP; Thu, 26 Aug 2010 23:53:53 -0700 (PDT) In-Reply-To: <4C776025.8000609@gmail.com> References: <4C7726F0.10001@erdgeist.org> <4C776025.8000609@gmail.com> Date: Fri, 27 Aug 2010 02:53:53 -0400 Message-ID: From: Aryeh Friedman To: Jim Bryant Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Dirk Engling Subject: Re: disassembler X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 06:53:54 -0000 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 wrot= e: > 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 sourc= e > tree yourself. > > Aryeh Friedman wrote: >> >> On Thu, Aug 26, 2010 at 11:36 PM, Aryeh Friedman >> wrote: >> >>> >>> On Thu, Aug 26, 2010 at 10:46 PM, Dirk Engling >>> 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, >>>> >>>> =A0erdgeist >>>> >>>> >>> >>> flosoft# objdump -d /dev/da0 >>> objdump: Warning: '/dev/da0' is not an ordinary file >>> >>> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.or= g" >> >> >