22 lines
578 B
Markdown
22 lines
578 B
Markdown
# Slideshow prep
|
|
|
|
The below commands will prep the system for storing photos as well as install fundamental packages needed to make the slideshow feature (the feature that's the whole point of the project) work.
|
|
|
|
``` sh
|
|
|
|
sudo -sHu root /bin/bash
|
|
|
|
# Filesystem for pictures
|
|
apt install btrfs-progs
|
|
parted /dev/sda
|
|
mkfs.btrfs /dev/sda1
|
|
mkdir /tank
|
|
cat >> /etc/fstab <<EOF
|
|
/dev/sda1 /tank btrfs defaults,noatime,nodiratime,compress,ssd 0 1
|
|
EOF
|
|
mount /tank
|
|
btrfs subvolume create /tank/pictures
|
|
# load pictures via rclone/syncthing/scp/etc (semi-optional)
|
|
|
|
```
|