Changeset 13280 in hybrid


Ignore:
Timestamp:
Jun 14, 2015, 11:01:53 AM (7 years ago)
Author:
ed
Message:

Change to give /etc fixed size of 8mb because default is 4mb and bit small.
Change to use 8Gb flash disk instead of 4Gb since these are easier to buy these days
Change to let the build script decide the size of the operating system slices

# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 1.8G 370M 1.3G 21% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 8.9M 3.9M 4.2M 48% /etc
/dev/md1 37M 3.4M 31M 10% /var
/dev/md2 19M 24K 17M 0% /tmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/cfg/nanobsd.wleiden.apu

    r13175 r13280  
    2020NANO_CONFSIZE=8192              # volume van de config slice, default 2048 (512bs)
    2121NANO_DATASIZE=0                 # volume van de data slice, 0 = not configured
    22 NANO_CODESIZE=889200            # 434Mb voor /  (889200*1024*1024/512)
    23 NANO_RAM_TMPVARSIZE=81920       # 40Mb Voor /Var en /Tmp(40*1024*1024/512)
     22NANO_CODESIZE=0                 # Let buildscript the operating system slice as large as posible
     23NANO_RAM_ETCSIZE=20480          # 10 Mb for /etc (10*1024*1024/512)
     24NANO_RAM_TMPVARSIZE=81920       # 40Mb for /Var and /Tmp(40*1024*1024/512)
    2425
    2526NANO_DRIVE=da0                  # Naam van de SD card
     
    183184# C/H/S phys 945/64/63, logical 983/32/63
    184185# drive 0x000f2ab0: PCHS=0/0/0 translation=lba LCHS=945/64/63 s=3813376
    185 NANO_MEDIASIZE=`expr 1952448512 / 512`
    186 NANO_HEADS=64                           
    187 NANO_SECTS=63                           
     186NANO_MEDIASIZE=`expr -e 4097802240 / 512`
     187NANO_HEADS=16
     188NANO_SECTS=63
     189
     190#NANO_MEDIASIZE=`expr 1952448512 / 512`
     191#NANO_HEADS=64                           
     192#NANO_SECTS=63                           
    188193
    189194
Note: See TracChangeset for help on using the changeset viewer.