Module Name: src
Committed By: jmcneill
Date: Sun Apr 5 17:05:45 UTC 2015
Modified Files:
src/distrib/utils/embedded: mkimage
Log Message:
Use FFSv2 instead of FFSv1 for the root file-system. This should fix the
"resize_ffs takes forever" issues with evbarm images -- growing a v2
file-system is much faster than v1.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/distrib/utils/embedded/mkimage
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/mkimage
diff -u src/distrib/utils/embedded/mkimage:1.52 src/distrib/utils/embedded/mkimage:1.53
--- src/distrib/utils/embedded/mkimage:1.52 Thu Jan 29 14:54:06 2015
+++ src/distrib/utils/embedded/mkimage Sun Apr 5 17:05:45 2015
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.52 2015/01/29 14:54:06 skrll Exp $
+# $NetBSD: mkimage,v 1.53 2015/04/05 17:05:45 jmcneill Exp $
#
# Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -178,7 +178,7 @@ if [ -z "${bootonly}" ]; then
echo ${bar} Populating ffs filesystem ${bar}
${MAKEFS} -r -N ${release}/etc -t ffs -rx \
-O ${ffsoffset} \
- -o d=4096 -b $((${extra}))m \
+ -o v=2,d=4096 -b $((${extra}))m \
-F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
fi