Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2011 08:05:21 +0400
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        Robert Millan <rmh@freebsd.org>
Cc:        freebsd-fs@freebsd.org, Adrian Chadd <adrian@freebsd.org>
Subject:   Re: [PATCH] Wipe other file systems when creating new UFS
Message-ID:  <4EE18901.7060800@FreeBSD.org>
In-Reply-To: <20111208134307.GA5266@thorin>
References:  <20111208134307.GA5266@thorin>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08.12.2011 17:43, Robert Millan wrote:
> newfs(8) currently erases remnants of UFS if they exist.  I think it should
> go further and erase first and last 512 kiB of the partition.

Hi,

i think before erasing 512 kib you should at least check actual available
mediasize and don't use hardcoded 512 sector size.

-- 
WBR, Andrey V. Elsukov



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