[PATCH] Wipe other file systems when creating new UFS

Andrey V. Elsukov ae at FreeBSD.org
Fri Dec 9 04:22:30 UTC 2011


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


More information about the freebsd-fs mailing list