Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2009 17:57:58 +0200 (CEST)
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        <freebsd-current@FreeBSD.org>
Subject:   Re: strange newfs results
Message-ID:  <permail-2009061215575880e26a0b00001209-a_best01@message-id.uni-muenster.de>
In-Reply-To: <20090612151632.GD48776@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <alexbestms@math.uni-muenster.de> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2009061215575880e26a0b00001209-a_best01>