diff options
author | Maarten Lankhorst <m.b.lankhorst@gmail.com> | 2010-05-09 18:44:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-09 18:46:10 +0200 |
commit | 07b0b134d3076fe223d6e15959b6081a74b56792 (patch) | |
tree | c768259278d9436d553587c284be22d32f788175 /manager.h | |
parent | af5bc85dc1297079edc9890861aaa38de0ec30df (diff) |
swap: add .swap unit type
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -99,6 +99,7 @@ struct Watch { #define SPECIAL_LOCAL_FS_TARGET "local-fs.target" #define SPECIAL_REMOTE_FS_TARGET "remote-fs.target" +#define SPECIAL_SWAP_TARGET "swap.target" #define SPECIAL_NETWORK_TARGET "network.target" #define SPECIAL_NSS_LOOKUP_TARGET "nss-lookup.target" /* LSB's $named */ #define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */ @@ -187,6 +188,9 @@ struct Manager { FILE *proc_self_mountinfo; Watch mount_watch; + /* Data specific to the swap filesystem */ + FILE *proc_swaps; + /* Data specific to the D-Bus subsystem */ DBusConnection *api_bus, *system_bus; Set *subscribed; |