chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use the switch_root function in shutdown
[elogind.git]
/
src
/
shared
/
switch-root.h
diff --git
a/src/core/switch-root.h
b/src/shared/switch-root.h
similarity index 88%
rename from
src/core/switch-root.h
rename to
src/shared/switch-root.h
index ab493b5fb18d46cba95e540fb9368ac5e7089ca9..adf893a922e8219b362063d96a49bf382efd39b6 100644
(file)
--- a/
src/core/switch-root.h
+++ b/
src/shared/switch-root.h
@@
-21,4
+21,4
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-int switch_root(const char *
switch_root
);
+int switch_root(const char *
new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags
);