I noted recent downloaded distro(s) of my favorite Linux Mint when written to USB and booted create "writable" partition on USB and write logs there. Logs might be interesting to look at, however if I want to preserve USB livespan, is there an easy way to prevent writing to USB?
The boot parameter
nopersistent makes a Linux Mint live system not write logs to a [USB] writable partition.
If your system is cloned, it is a bit difficult to add a boot parameter. You can use mkusb-plug to create a nopersistent USB pendrive with Linux Mint (mkusb is made for Ubuntu, but it works with Linux Mint too). See also this link that describes how to create a persistent live drive or a nopersistent live drive.
You can do it with
sed 's/quiet splash/persistent /' standard.iso > persistent.iso sed 's/quiet splash/nopersistent/' standard.iso > nopersistent.iso
and clone the modified iso file, or flash directly with
sed 's/quiet splash/persistent /' standard.iso > /dev/sdx sed 's/quiet splash/nopersistent/' standard.iso > /dev/sdx
where x is the device letter for the USB pendrive.
Cloning means to copy each byte of the source to the target as it is without modifying, excluding or adding anything.
dd is often used to clone from an iso file, but there are several other cloning tools, that are safer. I prefer tools with a final checkpoint, that help avoid writing to the wrong target device.
An alternative is extraction from an iso file to an already created file system. There are more details about it here.
You can rename the "writable" partition to any other name and it won't be mounted to /var/log anymore. You can do it from any computer (or even by booting from the Live USB itself, using Disks : the name can be changed but the partition can't be unmounted). Then (re)start from the Live USB and all will be fine.
By the way, if you chose to add "persistent" parameter into your menuentry, then renaming "writable" to "home-rw" will give a persistent Home partition mounted to /home.