Rework immutability and overlays
This commit is contained in:
parent
fddf7f86ae
commit
5e65e6c06e
13 changed files with 1141 additions and 70 deletions
20
overlayfs-tools/sh.h
Executable file
20
overlayfs-tools/sh.h
Executable file
|
@ -0,0 +1,20 @@
|
|||
#ifndef OVERLAYFS_TOOLS_SH_H
|
||||
#define OVERLAYFS_TOOLS_SH_H
|
||||
|
||||
enum {
|
||||
LOWERDIR,
|
||||
UPPERDIR,
|
||||
MOUNTDIR,
|
||||
LOWERNEW,
|
||||
UPPERNEW,
|
||||
NUM_VARS
|
||||
};
|
||||
|
||||
extern const char *var_names[NUM_VARS];
|
||||
extern char *vars[NUM_VARS];
|
||||
|
||||
FILE* create_shell_script(char *tmp_path_buffer);
|
||||
|
||||
int command(FILE *output, const char *command_format, ...);
|
||||
|
||||
#endif //OVERLAYFS_TOOLS_SH_H
|
Loading…
Add table
Add a link
Reference in a new issue