Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/embedded/conf now that we compute sizes correc...



details:   https://anonhg.NetBSD.org/src/rev/5af1651a94ac
branches:  trunk
changeset: 784039:5af1651a94ac
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 15 20:55:00 2013 +0000

description:
now that we compute sizes correctly, reduce the extra to how much free space
we want.

diffstat:

 distrib/utils/embedded/conf/rpi.conf |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 78d6de5b9760 -r 5af1651a94ac distrib/utils/embedded/conf/rpi.conf
--- a/distrib/utils/embedded/conf/rpi.conf      Tue Jan 15 17:45:05 2013 +0000
+++ b/distrib/utils/embedded/conf/rpi.conf      Tue Jan 15 20:55:00 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.7 2013/01/15 03:56:20 christos Exp $
+# $NetBSD: rpi.conf,v 1.8 2013/01/15 20:55:00 christos Exp $
 # Raspberry PI customization script used by mkimage
 #
 image=$HOME/rpi.img
@@ -12,11 +12,11 @@
 specialdirs="/kern /proc"
 
 swap=256
-extra=$(( 150 + 8 ))   # cylinder groups ~150MB
+extra=8                # spare space
 boot=112
 init=8
 
-size=0
+size=0         # autocompute
 msdosid=12
 overhead=$(( ${swap} + ${extra} + ${init} + ${boot} ))
 
@@ -60,10 +60,10 @@
 
 8 partitions:
 #     size         offset        fstype [fsize bsize cpg/sgs]
- a:   ${asize}     ${aoffset}    4.2BSD   2048 16384     0  # 
- b:   ${swapsize}  ${swapoffset} swap                       #
- d:   ${totalsize} 0             unused      0     0        #
- e:   ${bootsize}  ${bootoffset} MSDOS                      #
+ a:   ${asize}     ${aoffset}    4.2BSD  ${fsize} ${bsize} 0  # 
+ b:   ${swapsize}  ${swapoffset} swap                         #
+ d:   ${totalsize} 0             unused      0     0          #
+ e:   ${bootsize}  ${bootoffset} MSDOS                        #
 EOF
        ${sudo} disklabel -R ${vnddev} ${tmp}
        ${sudo} fdisk -f -u -0 -s ${msdosid}/${bootoffset}/${bootsize} -F ${image}



Home | Main Index | Thread Index | Old Index