Home
last modified time | relevance | path

Searched hist:"4 b8175ee8f196b4d52d3bf0aea4af8de77955449" (Results 1 – 1 of 1) sorted by relevance

/freebsd/release/tools/
H A Dvmimage.subrdiff 4b8175ee8f196b4d52d3bf0aea4af8de77955449 Mon Apr 20 21:54:54 CEST 2015 Glen Barber <gjb@FreeBSD.org> When building VM disk images, vm_copy_base() uses tar(1) to
copy the userland from one md(4)-mounted filesystem to a clean
filesystem to prevent remnants of files that were added and
removed from resulting in an unclean filesystem. When newfs(8)
creates the first filesystem with journaled soft-updates enabled,
the /.sujournal file in the new filesystem cannot be overwritten
by the /.sujournal in the original filesystem.

To avoid this particular error case, do not enable journaled
soft-updates when creating the md(4)-backed filesystems, and
instead use tunefs(8) to enable journaled soft-updates after
the new filesystem is populated in vm_copy_base().

While here, fix a long standing bug where the build environment
/boot files were used by mkimg(1) when creating the VM disk
images by using the files in .OBJDIR.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation