From owner-freebsd-current@FreeBSD.ORG Fri Jun 12 15:58:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64157106564A for ; Fri, 12 Jun 2009 15:58:01 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id EDB088FC0C for ; Fri, 12 Jun 2009 15:58:00 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,210,1243807200"; d="scan'208";a="5788902" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 12 Jun 2009 17:57:59 +0200 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id 4C4C21B07BA; Fri, 12 Jun 2009 17:57:59 +0200 (CEST) Date: Fri, 12 Jun 2009 17:57:58 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <20090612151632.GD48776@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: strange newfs results X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 15:58:01 -0000 oh. i always thought the boot loader was stored at the beginning of ad0 right after the MBR. my bad. ;) thanks for the hints. Ed Schouten schrieb am 2009-06-12: > Hi Alexander, > * Alexander Best wrote: > > 1. pax -w -f /dev/ad0p2 . > > 2. file -s /dev/ad0p2 -> POSIX tar archive > > 3. newfs -U -L usr /dev/ad0p2 > > 4. file -s /dev/ad0p2 -> POSIX tar archive > I'm not a file system expert, but doesn't newfs leave the first few > KB's > of the file system untouched, to store a boot loader? This means that > the first few bytes of the disk still contain the POSIX tar archive > magic.