From owner-freebsd-current@FreeBSD.ORG Fri Jun 12 15:16:33 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 91A551065672 for ; Fri, 12 Jun 2009 15:16:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 309A58FC26 for ; Fri, 12 Jun 2009 15:16:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 290EF1CD8A; Fri, 12 Jun 2009 17:16:32 +0200 (CEST) Date: Fri, 12 Jun 2009 17:16:32 +0200 From: Ed Schouten To: Alexander Best Message-ID: <20090612151632.GD48776@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hPgXaKTTpTvPowxx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-current@FreeBSD.org 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:16:33 -0000 --hPgXaKTTpTvPowxx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Ed Schouten WWW: http://80386.nl/ --hPgXaKTTpTvPowxx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkoycVAACgkQ52SDGA2eCwXLRgCeLZmFrHqMklnDEbnAk1fhzDUG iQMAn0SlJvwkvuf3MhC0A1dCApsyuHwx =iJ2E -----END PGP SIGNATURE----- --hPgXaKTTpTvPowxx--