Module Name:    src
Committed By:   jmcneill
Date:           Thu Mar 28 00:20:02 UTC 2013

Modified Files:
        src/distrib/utils/embedded: mkimage

Log Message:
For ffs, set bytes per inode to 4K. Otherwise we get a density based on
the contents of the image, which aren't very useful after the file-system
has been resized -- for rpi.img, this was 22K per inode!


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 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.36 src/distrib/utils/embedded/mkimage:1.37
--- src/distrib/utils/embedded/mkimage:1.36	Tue Mar 19 22:16:53 2013
+++ src/distrib/utils/embedded/mkimage	Thu Mar 28 00:20:02 2013
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkimage,v 1.36 2013/03/19 22:16:53 garbled Exp $
+# $NetBSD: mkimage,v 1.37 2013/03/28 00:20:02 jmcneill Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -157,6 +157,7 @@ if [ -z "$bootonly" ]; then
 	${MAKEFS} -N ${release}/etc -t ffs -rx \
 	    -O $(((${init} + ${boot} + ${swap}) / 2))m \
 	    -b $((${extra} / 2))m \
+	    -o d=4096 \
 	    -F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
 fi
 

Reply via email to