Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-05 | Correcting left-over in author section of live.persist manpage. | Daniel Baumann | |
2012-04-05 | Make cases for all different custom mounting situations more explicit. | Tails developers | |
The old code had grown wild over time and was hard to follow, and consequently contained bugs (all related to linkfiles custom mounts in read-only mode) that that became obvious and were fixed solely all thanks to this re-write. | |||
2012-04-05 | Copy perms/ownership from source when creating linkfiles dest dirs. | Tails developers | |
2012-04-05 | Use trim_path() instead of custom sed stanza to trim /:es from paths. | Tails developers | |
2012-04-05 | Add 'bind' option for the default behaviour of custom mounts (bind-mount). | Tails developers | |
2012-04-05 | Fix ownership for links created for linkfiles custom mounts. | Tails developers | |
2012-04-05 | Adding functions equivalent to chmod/chown --reference. | Tails developers | |
This option is apparently not present in busybox. | |||
2012-04-05 | Delete existing files in the destination's path when creating it. | Tails developers | |
2012-04-05 | Update live-boot(7) man page and add new one for live.persist(5). | Tails developers | |
2012-04-05 | Also create parents when creating union/linkfiles source directories. | Tails developers | |
Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc. | |||
2012-04-05 | Remove cow dir contents that are in the way for custom mounts. | Tails developers | |
This is mostly relevant if you activate persistence post boot; in that case you (or live-config) may have modified or added some file, which makes it appear in the cow dir. If you later activate a persistent volume which contains that file, the old file will "block" the one from the persistent volume, which likely isn't what you expect. | |||
2012-04-05 | Improve error message. | Tails developers | |
2012-04-05 | Make two custom mounts with nested source directories illegal. | Tails developers | |
2012-04-05 | Make trim_path() handle "/", and arbitrarily many consecutive /:es. | Tails developers | |
2012-04-05 | Greatly simplify live.persist syntax to "DIR [OPTIONS...]". | Tails developers | |
The previous syntax was convoluted by allowing both optional columns and a list of options, when all really can be done in the options list. A new option 'source=$path' was added as a replacement for the removed SOURCE column, and DIR in the new syntax is pretty much the old DEST. | |||
2012-04-05 | Add a note about a potential, future code simplification. | Tails developers | |
2012-04-05 | Do not allow mutually exclusive custom mount options. | Tails developers | |
2012-04-05 | Fix ownership/perms for created union/linkfiles source dirs. | Tails developers | |
2012-04-05 | Create the source dir for custom mounts using the 'linkfiles' option. | Tails developers | |
We can't bootstrap it, but creating it so the user doesn't have to (and maybe can't due to permissions) is a still convenient. | |||
2012-04-05 | Refactor closing of persistent devices upon failure. | Tails developers | |
Errors can occur at various places so it's best to just do it once in a consistent manner. | |||
2012-04-05 | Change live.persist syntax to "SOURCE [DEST [OPTIONS...]]". | Tails developers | |
2012-04-05 | Copy ownership/perms from source to rw-branch in read-only mode. | Tails developers | |
The union mountpoint inherits ownership/permissions from the rw-branch, which in this case is a directory created by root, and not the source, which has the correct ownership/perms. | |||
2012-04-05 | Handle list arguments better in get_custom_mounts(). | Tails developers | |
2012-04-05 | Make handling of LUKS encrypted GPT partitions more sane. | Tails developers | |
2012-04-05 | Use trim_path when we compare paths. | Tails developers | |
2012-04-05 | Don't allow . or .. in live.persist paths. | Tails developers | |
Allowing it could cause serious breakage, and there's absolutely no need for it. | |||
2012-04-05 | Remove two FIXME:s that are not really relevant. | Tails developers | |
We could handle those cases, but it wouldn't give us anything; the sort-by-destination we do later makes it work just fine. | |||
2012-04-05 | Cleanup. | Tails developers | |
2012-04-05 | Refactor mounting of persistent storage media. | Tails developers | |
This also fixes a bug where for home-rw image files: they were mounted in ${rootmnt}/live before ${rootmnt} was mounted, hence "hiding" the mount point. | |||
2012-04-05 | Fixup some style issues. | Tails developers | |
2012-04-05 | Check if luks device is already open before trying to open it. | Tails developers | |
2012-04-05 | We don't black list storage devices any more. | Tails developers | |
2012-04-05 | Add backwards compatibility for old labels: live-{rw,sn} and home-rw. | Tails developers | |
For home-rw we create a live.persist file which make old volumes completely compatible with the custom mounts system. | |||
2012-04-05 | Handle already mounted devices and closing of unused luks devices better. | Tails developers | |
2012-04-05 | Some minor cleanups. | Tails developers | |
2012-04-05 | Add support for probing partitions' GPT name just like filesystem labels. | Tails developers | |
2012-04-05 | Refactor find_persistent_media(). | Tails developers | |
2012-04-05 | Refactor some global variables from live into live-helpers. | Tails developers | |
2012-04-05 | Refactor live-boot argument parser from live into live-helpers. | Tails developers | |
This will be useful for making it possible to enable persistent during user-space. | |||
2012-04-04 | Adjusting mount calls when using nfs options (Closes: #667435). | Daniel Baumann | |
2012-04-01 | Close unused LUKS devices in all cases. | Tails developers | |
Previously LUKS partitions whose fs had the incorrect partition label would be left open when using persistent-storage=partition. | |||
2012-04-01 | Use same device backing path as used in other places. | Tails developers | |
2012-04-01 | Accept using several persistent media with custom-ov label. | Tails developers | |
We didn't want this before with live-{rw,sn} and home-{rw,sn} style persistence, so this was just a left-over. But we still can only allow one each of root-ov, root-sn and home-sn. | |||
2012-04-01 | Refactor persistent custom mounting from live into live-helpers. | Tails developers | |
This will be useful for making it possible to enable persistent during user-space. | |||
2012-04-01 | Correcting syntax when using if constructs in links_files(). | Daniel Baumann | |
2012-04-01 | Fix mask usage in links_files(). | Tails developers | |
2012-04-01 | Optionally mount custom mounts as unions. | Tails developers | |
This can potentially save a lot of space, and this type of persistence doesn't hide changes to the read-only filesystem which can be both good and bad. | |||
2012-04-01 | Remove the correct file. | Tails developers | |
2012-04-01 | Ignore empty lines in live.persist. | Tails developers | |
Otherwise they're interpreted as / which isn't good. | |||
2012-04-01 | Make union mounting more sensible and robust. | Tails developers | |
...except that they're broken! But we're getting to that. |