-mount (--one-file-system) like option for rdiff-backup?
Ben Escoto
bescoto@stanford.edu
Thu, 27 Jun 2002 22:10:38 -0700
--==_Exmh_1856153942P
Content-Type: text/plain; charset=us-ascii
Ok, I see your point. I can think of two ways of implementing this.
Either way, I think the option should fit into the current
include/exclude priority scheme.
1. Have an --exclude-other-devices switch, that excludes files on
devices other than the device the root is on. So if /usr were on
a different device, "--include /usr/local --exclude-other-devices"
would include /usr/local and everything under it, but not anything
else in /usr.
2. Unfortunately, the above scheme doesn't have an easy way of saying
"backup / and /usr/local, but don't move from one device to
another given that." "--exclude-other-devices --include
/usr/local --exclude-other-devices" wouldn't work, because
/usr/local would be excluded first before the --include was
processed.
So one way would be add a --exclude-different-device-from switch,
so the above could be accomplished by saying,
"--exclude-different-device-from /usr/local --include /usr/local
--exclude-different-device from /".
Hmm, and I guess there could also be --include-same-device-as <file>
switches... But maybe the situation in (2) doesn't come up very
often and (1) is good enough...
--
Ben Escoto
--==_Exmh_1856153942P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001
iD8DBQE9G+/N+owuOvknOnURAjhsAJ9diAE+YF4KBG1X/v0h6xYsrNg1GgCfTLAA
CAljYDcFViEXZoVve/z0is4=
=kW9F
-----END PGP SIGNATURE-----
--==_Exmh_1856153942P--