Created
January 9, 2024 04:51
-
-
Save arter97/113493f10fdfa5f98e3b8073827db3a4 to your computer and use it in GitHub Desktop.
Tesla DashCam/Sentry ext4 formatting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET=/dev/sda1 | |
TMP=/tmp/$(uuidgen) | |
mkdir $TMP | |
mkdir $TMP/TeslaCam | |
chown 1984:1999 $TMP $TMP/TeslaCam | |
mkfs.ext4 -b 4096 -O ^flex_bg -E lazy_itable_init=0,lazy_journal_init=0,root_owner=1984:1999 -L TESLADRIVE -d $TMP $TARGET | |
rm -rf $TMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment