3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules/system
Mathijs Kwik 16a9bcfe81 add support for systemd mount units
This is mainly useful for specifying mounts that depend on other
units. For example sshfs or davfs need network (and possibly
nameservices).

While systemd makes a distinction between local and remote
filesystems, this only works for in-kernel filesystems such as
nfs and cifs.

fuse-based filesystems (such as sshfs and davs) are classified as
local, so they fail without networking. By explicitly declaring these
mounts as full systemd units (as opposed to having systemd generate
them automatically from /etc/fstab), dependencies can be specified as
on every other unit.

In the future, we can probably port NixOS' filesystems handling to use
these native systemd.mount units and skip /etc/fstab altogether, but
this probably requires additional changes, such as starting systemd
even earlier during boot (stage 1).
2013-01-01 13:55:48 +01:00
..
activation Don't create /var/log/upstart 2012-10-26 16:22:18 +02:00
boot add support for systemd mount units 2013-01-01 13:55:48 +01:00
etc Lowercase debug output 2012-10-04 21:44:45 -04:00
upstart Fix coverage data collection 2012-10-30 17:27:14 +01:00