Add osm-map-nano

This commit is contained in:
Corentin 2025-09-10 00:22:48 +09:00
commit bedef43e13
22 changed files with 739 additions and 0 deletions

12
scripts/tmpfs_dirs.sh Executable file
View file

@ -0,0 +1,12 @@
#! /bin/bash
CWD=$(cd -P . && pwd)
readarray -t TMPFS_DIRS < <(df -lt tmpfs --output=target | tail -n +2)
if [[ " ${TMPFS_DIRS[*]} " =~ " ${CWD}/build " ]]; then
echo "build alread a tmpfs"
else
echo "Mounting build as tmpfs"
sudo mount -m -t tmpfs tmpfs build
fi