chiark / gitweb /
use the switch_root function in shutdown
[elogind.git] / 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)
@@ -21,4 +21,4 @@
   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);