JarvyJ / pislide-os

An OS for easily displaying images on a Raspberry Pi
GNU Affero General Public License v3.0
10 stars 0 forks source link

persist filesystem changes #2

Closed JarvyJ closed 1 month ago

JarvyJ commented 1 month ago

Planning to check if the "persist" partition expands post boot to fill the rest of the SD card. If not it might be worth looking into. Also, I feel like a use case would be to pop the SD card into a computer and load up photos, and it not being an ext4 format would be useful for non-linux users.

JarvyJ commented 1 month ago

The persist partition will auto-expand to fill the rest of the SD card on first boot! However, the resizer doesn't support FAT32 or NTFS. We could put in a DISABLE_RESIZE_PERSIST env variable to stop it from expanding and just have a FAT32 partition that explicitly is for photos that we create on first boot. I'll consider various options for a bit.

JarvyJ commented 1 month ago

I do really like the just having a fat32 partition that folks could easily put images on. The user experience would be something like:

  1. Download and flash image
  2. Boot for the first time
  3. Get an image confirmation that everything has been setup and what next steps to take.
  4. Either upload images from the web ui or turn off pi, eject sd card, and then load up images
  5. Either change slideshow settings from the ui or modify the sh files on the pi when uploading images
  6. Enjoy a slideshow of images

It would be nice if you could upload images first before even booting for the first time. That would require the ability to expand the fat32, which could be challenging.