[SCM] wiki-content branch, master, updated. 98802c06a211461d9e5a437688ec07c102e4d895
Tails developers
amnesia at boum.org
Thu Mar 1 12:58:30 UTC 2012
The following commit has been merged in the master branch:
commit 98802c06a211461d9e5a437688ec07c102e4d895
Author: Tails developers <amnesia at boum.org>
Date: Thu Mar 1 13:37:47 2012 +0100
Update section about home-rw backwards-compatibility.
diff --git a/devel/rfc/persistence.mdwn b/devel/rfc/persistence.mdwn
index 4868aec..a793429 100644
--- a/devel/rfc/persistence.mdwn
+++ b/devel/rfc/persistence.mdwn
@@ -199,6 +199,21 @@ live.persist on another persistent media):
Then we'd always deal with this mount *after* the `/etc` mount so that
no mount is hid by another mount.
+### Backwards-compatibility
+
+We have backwards-compatibility for home-rw partitions/files that
+worked in older versions of live-boot. When such a label is found
+the following live.persist is created (if no live-persist exists):
+
+ #source destination
+ / /home
+
+which translates to:
+
+ mount --bind ${mnt} ${root}/home
+
+so it will work exactly like before.
+
### Snapshots
live.persist could also be used for all types of snapshots, working as
@@ -221,29 +236,6 @@ Note: for snapshots the live.persist file wouldn't be limited to
directories but could also handle individual files. Overlays cannot
handle individual files as long as we rely on mounting.
-### Backwards-compatibility
-
-*If* we care for backwards-compatibility, we'd have to allow for an
-optional extended syntax which allows specifying source-destination
-pairs. To use a home-{rw,sn} partition/file that worked in an older
-version of live-boot, the live.persist should look like this:
-
- #source destination
- . /home
-
-which translates to:
-
- mount ${mnt}/. ${root}/home
-
-so it would work exactly like before. If live-boot finds a
-home-{sn,rw} partition/file, it could just create the above file if
-it's not present already, making the backwards-compatibility
-completely transparent.
-
-*If* we care for backwards-compatibility, we should also keep the
-"global" /etc/live-snapshot.list, but then the precedence problem
-mentioned in the "Snapshots" section needs to be resolved.
-
### Missing sources and destinations
An interesting issue is what to do if the mount source on the
--
wiki-content
More information about the debian-live-changes
mailing list