Skip to content

Filesystem Layout

Josh Samuel edited this page Jan 19, 2020 · 2 revisions

sbin/mmcblk0.sfdisk

label: gpt
device: /dev/mmcblk0
unit: sectors
first-lba: 512
last-lba: 124321758

/dev/mmcblk0p1 : start=         512, size=      261632, type=0FC63DAF-8483-4772-8
E79-3D69D8477DE4, name="boot"
/dev/mmcblk0p2 : start=      262144, size=     3932160, type=0FC63DAF-8483-4772-8
E79-3D69D8477DE4, name="rootfs-a"
/dev/mmcblk0p3 : start=     4194304, size=     3932160, type=0FC63DAF-8483-4772-8
E79-3D69D8477DE4, name="rootfs-b"
/dev/mmcblk0p4 : start=     8126464, size=   116195294, type=E6D6D379-F507-44C2-A
23C-238F2A3DF928, name="lvm"

lvm drive: sbin/check-lvm-parts builds the partitions if they are missing or corrupted. lvm_group: ivg 256MB var 1024MB log 7GB home 8GB amap 8GM bmap

amap/bmap are mapped by check-map-symlink via etc/runit/1 to /var/etc/maps. newest is mapped before mounting.

deploy/ contains iasImage-bank_a/b and ice-elk-spi.bin deploy/ice-updater -- phone home for a firmware update

sentinal files created for GUI, based on scripts: /usr/bin/is-development-car /var/run/is-development

/usr/bin/is-fused /var/run/is-fused

/sbin/lockdown # Lock down before starting services /sbin/firewall # setup firewall rules & internet sharing for ape

Car Credentials files: /var/lib/car_Creds should have car.key in it.

/var/etc/vin - Cars vin.

Clone this wiki locally