No video

Protect your Pi from unwanted changes. Overlay File System.

Protect your Pi from unwanted changes. Overlay File System.
sudo raspi-config
Performance options
As an Amazon Associate I earn from qualifying purchases
Amazon US & other Countries Links
Raspberry Pi 400 amzn.to/3J9Hgrq
Ice tower cooler amzn.to/3yPxGFx
Pi 4 cluster case amzn.to/3A5qcPP
Stand off and screw kit amzn.to/3uSOqLJ
Ugreen sata usb amzn.to/2VXBFBT
Kingston a2 64gb amzn.to/33HBrCD
Samsung Bar 128GB USB amzn.to/3lYaYHF
Elegoo FDM 3D printer amzn.to/3IpQS1p
Kingdian SSD 120GB amzn.to/3xcDQOx
Screwdriver kit amzn.to/3zP8csb
Logik K400+ keyboard amzn.to/3BUiDN5
Argon One M.2 adapter amzn.to/2TGPeoh
Kingston 120GB m.2 drive amzn.to/3yvfAZg
Pi 4 8GB amzn.to/3k71KZa
Pi 4 4GB amzn.to/3k7JL4G
Xbox 360 controller amzn.to/3z1CJDj
My capture device Avermedia GC513 amzn.to/3G1LPDQ
My Amazon UK store
www.amazon.co.uk/shop/leepspv...
Amazon UK Links
Pi 400 amzn.to/3lqnCwr
Mouse amzn.to/3kuaYem
DeskPi Lite case amzn.to/3FLMw3C
Iitrust short usb sata amzn.to/3GjzGK5
Elegoo FDM 3D printer amzn.to/3GO9yY5
Kingston 64GB A2 amzn.to/2NTnkPm
Samsung 128GB Bar amzn.to/3pomTAH
My standing desk Flexispot amzn.to/3u71cED
Mscien power adapter amzn.to/2Kfi6yM
Official Raspberry Pi power adapter black amzn.to/3pHyiJj
Crucial 240GB SSD amzn.to/37LLc0V
YCCTEAM Xbox 360 Wireless controller amzn.to/38to6ya
Kingston 240GB SSD amzn.to/3n2yj9c
Kingston a400 M.2 120GB amzn.to/37MBfBY
Logitech K400+ keyboard trackpad amzn.to/3otsF0EOfficial
My capture device Avermedia GC513 amzn.to/2MnbXhW
My videos
Retropie 4.7.1 Official. Setup USB drive for roms and emulators. Part 1. Raspberry Pi 4 2GB.
• Retropie 4.7.1 Officia...
Retropie 4.7.1 Official. Setup tutorial Part 2. Installing all packages. Raspberry Pi 4 2GB.
• Retropie 4.7.1 Officia...
Retropie 4.7.1 Official. Setup Part 3. Installing Themes 720 resolution. Raspberry Pi 4 / 400.
• Retropie 4.7.1 Officia...
My new Linux Desktop. Raspberry Pi 4.
• My new Linux Desktop. ...
Raspberry Pi 4 NEWS playlist
• Raspberry Pi NEWS
All of my Pi videos are here (500 plus)
Raspberry Pi 4 Raspbian and more
• Everything Raspberry P...
Overlay File System keeps Raspberry Pi OS in a fresh state. With Overlay File System enabled, any changes you make are saved to RAM instead of storage, and are lost when you reboot.
This is useful for using Raspberry Pi in a public setting where you want people to be able to
use the operating system without making any permanent changes to it. Such as with a Raspberry Pi set up in a store.
Open Raspberry Pi Configuration and choose the Performance tab. Click Configure next to Overlay File System and enable User Overlay.
The write-protect boot partition enables you to lock down the boot partition for even more security

Пікірлер: 38

  • @JonathanYankovich
    @JonathanYankovich2 жыл бұрын

    Something you didn’t mention is how the overlay file system can extend the life of a SD card because it won’t have to write to it. This is super useful for embedded situations! I’m going to use this for a time lapse system I’m building.

  • @redshepard5306
    @redshepard53062 жыл бұрын

    Thanks for posting this. I've been thinking about this for a while myself.

  • @AndreVandal
    @AndreVandal2 жыл бұрын

    Cool, we had all the Macintosh computers set like this at school, each time the students left the class the unit were refreshed ready for the next batch.

  • @DylanDurdle
    @DylanDurdle2 жыл бұрын

    I've been using overlay on all my systems -- pi and otherwise. Helps to protect the integrity of the filesystem. I use it in conjunction with BTRFS snapshots. On a particular rasberry pi A, that has been in service since the A was a thing, used to have to have the filesystem restored at least once every 6 months from inproper shutdown/etc. After deploying this concept, it hasn't needed re-imaging (so 6+ years now?)

  • @terrydaktyllus1320
    @terrydaktyllus13202 жыл бұрын

    If you use an overlay file system then it's probably a good idea to designate another host in your network as a remote syslog server so that the Pi can still output syslog information that you can scrutinise if, say, something bad happens to the Pi. I assume a lot of people have "always on" NAS drives these days and those are ideal for setting up a remote syslog server on, if they are not so proprietary to stop you from setting one up in the first place. The configuration for remote syslog is, however, extremely straightforward to do.

  • @christopher480
    @christopher4802 жыл бұрын

    the 80's called and they want their neon theme back

  • @brunosurkov
    @brunosurkov2 жыл бұрын

    In task manager, under View uncheck "Show memory used by cache as free". Maybe it will show the memory that is being used by the temp files.

  • @robertmaxa6631
    @robertmaxa66312 жыл бұрын

    This is how the MX Live system works, or any "Live" system, for that matter. If you have persistence enabled, the session gets saved to ram, and "synced" to storage, if you choose to save the session. This is good for online shopping, or any situation where you don't want sensitive information, to be saved. it's strange to have that feature on an installed system.

  • @jyvben1520
    @jyvben15202 жыл бұрын

    df -h in terminal or command line would show disk spaces for each part, file manager global free space may mislead ...

  • @LKattest
    @LKattest2 жыл бұрын

    I believe the files are logged and written to sd and with that not using ram.When you reset the pi the files are deleted (with help of the log). Also: does it works if you hard power down? (disconnect power)

  • @andrewheywood6252
    @andrewheywood62522 жыл бұрын

    At timestamp 5:22 the message "unable to flush /var/lib/dpkg/updates/tmp.1 after padding: No space lift on device" Is this the file that holds the local image that is discarded after reboot, rather than use the ram. If it is the the SD card is still been written to.

  • @dronepilotflyby9481
    @dronepilotflyby94812 жыл бұрын

    Raspberry Pi as a ThinClient?

  • @esunayg
    @esunayg9 ай бұрын

    so its like deepfreeze on windows

  • @pavan13
    @pavan132 жыл бұрын

    Great feature I didn't knew about this but it's not for me

  • @RicardoPenders
    @RicardoPenders2 жыл бұрын

    you should check the swap file for the temporary memory that's being used, probably the Pi is using that instead of the RAM

  • @jonsmith2366
    @jonsmith23662 жыл бұрын

    Should work on Pi0 web scraping to emails; ie no file saving!

  • @johngay8416
    @johngay84162 жыл бұрын

    An overlay file system uses a file to store the added applications, not memory. But the changes are in a separate temporary file instead of the root file system. Also, you can change which desktop you are logged into without having to reboot. You just log out and log back in with a different desktop.

  • @charlesjensen6810

    @charlesjensen6810

    2 жыл бұрын

    John, are you 100% it is not using RAM? Did you check? The scripts seems to use ramfs

  • @johngay8416

    @johngay8416

    2 жыл бұрын

    I didn’t check the script. I’m just commenting on my experience of using overlay file systems before. And based on his limited testing which showed that it wasn’t reducing the memory available. And the error when he over-filled the overlay file system.

  • @dktol56
    @dktol562 жыл бұрын

    Check the /etc/fstab file after you enable overlayfs.

  • @FOSSware_360
    @FOSSware_3602 жыл бұрын

    Can anyone help me choose whether I should use 32 or 64 bit OS. I'm using a Raspberry Pi 4 2Gig RAM

  • @leepspvideo

    @leepspvideo

    2 жыл бұрын

    Try 64bit. If you find it slow try Zram Great 64bit Ubuntu performance on 2GB Raspberry Pi 4 with Zswap, plus Ubuntu Freezing Fix. kzread.info/dash/bejne/hX2CmNiGZqudo7w.html

  • @kychemclass5850
    @kychemclass58502 жыл бұрын

    You don't want them beating your High Score... Hhahahahhaa :)

  • @lfjvs
    @lfjvs2 жыл бұрын

    Does htop display the actual RAM usage???

  • @leepspvideo

    @leepspvideo

    2 жыл бұрын

    Not sure, I didn’t try any others

  • @xxxliqu1dxxx
    @xxxliqu1dxxx2 жыл бұрын

    It probably uses /dev/shm which is ram shared memory. Did you confirm that?

  • @DylanDurdle

    @DylanDurdle

    2 жыл бұрын

    Yes, by default

  • @jothain
    @jothain2 жыл бұрын

    If doing that to retropie it's worth to remember that you'll also lose save states.

  • 2 жыл бұрын

    I was thinking the same about save files and save states

  • @mrmonsterman8000
    @mrmonsterman80002 жыл бұрын

    Hey what is the os he’s using at 7:56

  • @obvious_giraffe8386

    @obvious_giraffe8386

    2 жыл бұрын

    Raspberry pi os with KDE ... sweet mars theme

  • @leepspvideo

    @leepspvideo

    2 жыл бұрын

    My new Linux Desktop. Raspberry Pi 4. kzread.info/dash/bejne/ZWqmsdiqkampfNY.html

  • @electricspider2267
    @electricspider22672 жыл бұрын

    What happens when you try deleting something.

  • @leepspvideo

    @leepspvideo

    2 жыл бұрын

    I didn’t try that.

  • @DylanDurdle

    @DylanDurdle

    2 жыл бұрын

    It will remove the file from view, but remount or reboot and the file will be back.

  • @ZaberfangX
    @ZaberfangX2 жыл бұрын

    Problem will be that one can't save the game.

  • @leepspvideo

    @leepspvideo

    2 жыл бұрын

    If you need to save a game you wouldn’t use this mode.

  • @pavan13
    @pavan132 жыл бұрын

    You are becoming old bcz you prefer larger task bar