Searched refs:detach_oldroot (Results 1 - 2 of 2) sorted by relevance

/systemd/src/shared/
H A Dswitch-root.h23 int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);
H A Dswitch-root.c42 int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags) { argument
128 /* Immediately get rid of the old root, if detach_oldroot is set.
130 if (detach_oldroot && umount2(oldroot, MNT_DETACH) < 0)

Completed in 9 milliseconds