Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded For ffs, set bytes per inode to 4K. O...
details: https://anonhg.NetBSD.org/src/rev/3e02f30698ee
branches: trunk
changeset: 785731:3e02f30698ee
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Mar 28 00:20:02 2013 +0000
description:
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!
diffstat:
distrib/utils/embedded/mkimage | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r d1013ed60884 -r 3e02f30698ee distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage Wed Mar 27 23:49:02 2013 +0000
+++ b/distrib/utils/embedded/mkimage Thu Mar 28 00:20:02 2013 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index