# bootcache **Repository Path**: mirrors_chromium_googlesource/bootcache ## Basic Information - **Project Name**: bootcache - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-19 - **Last Updated**: 2025-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README bootcache - creates the boot cache store To Use: bootcache should be run after the system has booted including bringing up chrome and login. Works in conjunction with dm-bootcache device mapper to coalesce the blocks used during boot. boot [-t] -t - for testing - looks in a different place for information files. e.g. dm-0. Device name without /dev/ prefix. bootcache reads these files to create boot cache store: 1. /dev/ 2. /sys/kernel/debug/dm-bootcache//valid 3. /sys/kernel/debug/dm-bootcache//header 4. /sys/kernel/debug/dm-bootcache//trace 5. /sys/kernel/debug/dm-bootcache//free Test files: 1. /tmp//dev 2. /tmp//valid 3. /tmp//header 4. /tmp//trace 5. /tmp//free dev - Actual storage area for data that will be cached. The boot cache data is stored on the same partition as the data. valid - indicates if the boot cache is valid. If it is, bootcache should just exit. header - Gives: block start of boot cache magic value for header version for boot cache signature for data trace - the blocks read during boot free - write a "1" to this file to free memory used by the bootcache device-mapper. To Make: make The .o's and executable, are stored in ".`uname -m`".