> The other day I was doing an install in qemu-kvm and newfs was taking > forever, to the tune of hours. This is similar to formatting on arm > boards. In my quest to track down why, I discovered that ffs2 takes far > less time to format than ffs1 (about 30 seconds for the entire disk). > > I've put together a diff that updates the boot blocks on amd64 to be > able to boot ffs2. From there it's a one line change to make newfs > format ffs2 by default. Obviously this would need to happen for other > architectures as well and I'd be glad to tackle that if others see > this as worthwhile. Please let me know your thoughts.
Awesome. You've just trimmed my todolist by a few lines (-: And you've done it so that you do not force UFS2 support on tight-space-challenged boot blocks on other arches. All you need now is to merge your installboot changes into the MI installboot, and we'll be able to add ffs2 support in the installer on a per-platform basis. However, it is way too early to make ffs2 the default for newfs. Please commit your libsa changes at the earliest opportunity. Miod
