Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/embedded resizing of ffsv2 still doesn't work ...



details:   https://anonhg.NetBSD.org/src/rev/1e3f71ed994a
branches:  trunk
changeset: 337214:1e3f71ed994a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Apr 06 17:59:36 2015 +0000

description:
resizing of ffsv2 still doesn't work well, so revert previous, and instead
explicitly set fsize=2048/bsize=16384, which gives a pretty decent boost
to resize_ffs performance on its own

diffstat:

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

diffs (19 lines):

diff -r 090c246c109b -r 1e3f71ed994a distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Mon Apr 06 17:59:10 2015 +0000
+++ b/distrib/utils/embedded/mkimage    Mon Apr 06 17:59:36 2015 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkimage,v 1.53 2015/04/05 17:05:45 jmcneill Exp $
+# $NetBSD: mkimage,v 1.54 2015/04/06 17:59:36 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 v=2,d=4096 -b $((${extra}))m \
+           -o d=4096,f=2048,b=16384 -b $((${extra}))m \
            -F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
 fi
 



Home | Main Index | Thread Index | Old Index