Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded Use FFSv2 instead of FFSv1 for the ro...



details:   https://anonhg.NetBSD.org/src/rev/72d147163e0a
branches:  trunk
changeset: 807320:72d147163e0a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Apr 05 17:05:45 2015 +0000

description:
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.

diffstat:

 distrib/utils/embedded/mkimage |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 39aac6384482 -r 72d147163e0a distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Sun Apr 05 12:55:20 2015 +0000
+++ b/distrib/utils/embedded/mkimage    Sun Apr 05 17:05:45 2015 +0000
@@ -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 @@
        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
 



Home | Main Index | Thread Index | Old Index