summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@gmail.com>2015-03-24 00:52:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-24 00:12:03 -0400
commitb0438462089d1e1460429a57718305de08985908 (patch)
tree302daa5456cb4898d7370e6740bbd5c53d1a5776 /src/shared/util.h
parentea342a99fd4bbdb25e690186b25a8f1c88ed61b3 (diff)
fstab-generator: Support root on tmpfs (or other deviceless FS)
This allows for stateless systems.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 29e85bb7e1..b5f44b8a1f 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -409,6 +409,7 @@ int fd_cloexec(int fd, bool cloexec);
int close_all_fds(const int except[], unsigned n_except);
bool fstype_is_network(const char *fstype);
+bool fstype_is_deviceless(const char *fstype);
int chvt(int vt);