diff --git a/_Inbox/Linux CLI Config and Commands.md b/_Inbox/Linux CLI Config and Commands.md index 8b1491a..7aeee31 100644 --- a/_Inbox/Linux CLI Config and Commands.md +++ b/_Inbox/Linux CLI Config and Commands.md @@ -57,4 +57,13 @@ sudo mkfs.ext4 /dev/sdxn mount a drive ``` sudo mount /dev/sdxn /mnt/storage +``` + +add drive to fstab, get disk UUID first +``` +sudo blkid /dev/sdn +``` +Then add this to `/etc/fstab` +``` +UUID=[your-uuid-here] /var/lib/docker ext4 defaults 0 2 ``` \ No newline at end of file