mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Avoid remounting already mounted /run and /tmp directories
Adds the function fistmpfs to determine if a new tmpfs mount should be performed on /run and /tmp. The function supports cases where more complex mount hierarchies are in use, including overlayfs backed mounts. Signed-off-by: Mathias Thore <mathias.thore@atlascopco.com>
This commit is contained in:
1 parent
13b107b7b1
commit
a0685219cf
3 files changed
+19
-2
No files matched your search
@@ -80,6 +80,7 @@ void de_dotdot (char *file);
|
||||
|
||||
int ismnt (char *file, char *dir, char *mode);
|
||||
int fismnt (char *dir);
|
||||
int fistmpfs (char *dir);
|
||||
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
int ttinit (void);
|
||||
|
||||
Reference in new issue
Block a user