On Mon, 7 Dec 2020 01:35:07 -0000 (UTC)
Martin Gregorie wrote:
> Indeed, but this us a special case: the RPi boot process mounts the boot
> partition on /boot and any backup of '/' made on a running RPi with rsync
> *will* include the contents of the boot partition unless you've
> configured the rsync run to exclude /boot/* . Don't ask me how I know!
Which is why all rsync based archive scripts should use the -x flag
to rsync which prevents crossing filesystem boundaries, it's not just /boot
you need to skip but *all* mounted filesystems.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:\>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|