doc at [3c94381d8b]

File build/doc artifact bc048b35bd part of check-in 3c94381d8b


AppBox

Filesystem Layout
	/ (rootfs)
	/system (ext2, ro)
	/system/config (tmpfs, populated from configuration partition)
	/system/proc (procfs)
	/system/dev (tmpfs)
	/system/apps/<app_name>/<app_version> (not a mountpoint, scheme for system apps)
	/data (ext3 or zfs)
	/data/apps (not a mountpoint)
	/data/apps/<app_name>/<app_version> (not a mountpoint, scheme for installed apps)
	/data/<app_name> (not a mountpoint, directory for app to manage)
	/apps (not a mountpoint, just a directory)
	/apps/<app_name>/<app_version> (symlink to /data/apps/<something> or /system/apps/<something>)
	/apps/<app_name>/default (symlink to default version of app)

Physical Disk Layout:
	p1 (10MB): boot filesystem: kernel, initrd, extlinux: ext2 (not mounted)
	p2 (2MB): config partition: header + tar
	p3 (unknown): root filesystem: mounted on /system
	p4 (unknown): data filesystem: mounted on /data

config partition:
	First 1024 bytes reserved for:
		[32 bytes]: Magic: SHA256("AppBox Configuration Partition"): {0x1d, 0xaa, 0x45, 0x9b, 0x97, 0x72, 0xef, 0x5d, 0x7d, 0x58, 0xc8, 0x14, 0x45, 0x82, 0x46, 0xc6, 0x9d, 0xbd, 0x1d, 0x53, 0xfa, 0x75, 0xf3, 0x96, 0x46, 0x29, 0x10, 0x25, 0x0b, 0xf7, 0xa4, 0xb6}
		[1 byte]: Offset index
		[7 bytes]: Reserved
		[8 bytes]: Offset #0
		[8 bytes]: Offset #1
		[968 bytes]: Reserved
	Tar contents (needed for early boot, may include other files)
		boot/modules/*.ko
		boot/modules/load
		fstab
		hostname
		apps/<appname>

initrd:
	/init
	/tclkit
	/modules/*.ko
	/modules/load