X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsystemd-fstab-generator.xml;h=82321c44bf85a4a692ba6a6e2c1f1c18e51d52f9;hb=5057d73ba1bb016c9325d0a7fdb84519d3443622;hp=5f37e9193e78540d1e46fa53a1ab376b912facdf;hpb=5b3637b44a28d3fb2ba8b272905c64d9dbae4d26;p=thirdparty%2Fsystemd.git diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml index 5f37e9193e7..82321c44bf8 100644 --- a/man/systemd-fstab-generator.xml +++ b/man/systemd-fstab-generator.xml @@ -1,38 +1,13 @@ - - + + systemd-fstab-generator systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -71,6 +46,14 @@ for more information about special /etc/fstab mount options this generator understands. + One special topic is handling of symbolic links. Historical init + implementations supported symlinks in /etc/fstab. + Because mount units will refuse mounts where the target is a symbolic link, + this generator will resolve any symlinks as far as possible when processing + /etc/fstab in order to enhance backwards compatibility. + If a symlink target does not exist at the time that this generator runs, it + is assumed that the symlink target is the final target of the mount. + systemd-fstab-generator implements systemd.generator7. @@ -191,19 +174,25 @@ lost at shutdown, as /etc and /var will be served from the (initially unpopulated) volatile memory file system. - If set to the generator will leave the root - directory mount point unaltered, however will mount a tmpfs file system to - /var. In this mode the normal system configuration (i.e the contents of - /etc) is in effect (and may be modified during system runtime), however the system state - (i.e. the contents of /var) is reset at boot and lost at shutdown. + If set to the generator will leave the root directory mount point unaltered, + however will mount a tmpfs file system to /var. In this mode the normal + system configuration (i.e. the contents of /etc) is in effect (and may be modified during + system runtime), however the system state (i.e. the contents of /var) is reset at boot and + lost at shutdown. + + If this setting is set to overlay the root file system is set up as + overlayfs mount combining the read-only root directory with a writable + tmpfs, so that no modifications are made to disk, but the file system may be modified + nonetheless with all changes being lost at reboot. Note that in none of these modes the root directory, /etc, /var or any other resources stored in the root file system are physically removed. It's thus safe to boot a system that is normally operated in non-volatile mode temporarily into volatile mode, without losing data. - Note that enabling this setting will only work correctly on operating systems that can boot up with only - /usr mounted, and are able to automatically populate /etc, and also - /var in case of systemd.volatile=yes. + Note that with the exception of overlay mode, enabling this setting will only work + correctly on operating systems that can boot up with only /usr mounted, and are able to + automatically populate /etc, and also /var in case of + systemd.volatile=yes.