aboutsummaryrefslogtreecommitdiff
path: root/sbin/init/pathnames.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-11-08 17:33:48 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-11-08 17:33:48 +0000
commit3f5ac575ea1288891300312b2fb9590c4c1483c4 (patch)
treefd5fdcec0ad6ddb8190c6cf49530ee61a9ac4753 /sbin/init/pathnames.h
parent27f38a8d699b6ffe5135ebae4641e679621a184e (diff)
downloadsrc-3f5ac575ea1288891300312b2fb9590c4c1483c4.tar.gz
src-3f5ac575ea1288891300312b2fb9590c4c1483c4.zip
Userspace part of reroot support. This makes it possible to change
the root filesystem without full reboot, using "reboot -r". This can be used to to eg. boot from a temporary md_image preloaded by loader(8), setup an iSCSI session, and continue booting from rootfs mounted over iSCSI. Reviewed by: kib@, bapt@ MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693
Notes
Notes: svn path=/head/; revision=290548
Diffstat (limited to 'sbin/init/pathnames.h')
-rw-r--r--sbin/init/pathnames.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sbin/init/pathnames.h b/sbin/init/pathnames.h
index 39eed4c868bb..ec33b458c9b7 100644
--- a/sbin/init/pathnames.h
+++ b/sbin/init/pathnames.h
@@ -35,7 +35,9 @@
#include <paths.h>
-#define _PATH_INITLOG "/var/log/init.log"
-#define _PATH_SLOGGER "/sbin/session_logger"
-#define _PATH_RUNCOM "/etc/rc"
-#define _PATH_RUNDOWN "/etc/rc.shutdown"
+#define _PATH_INITLOG "/var/log/init.log"
+#define _PATH_SLOGGER "/sbin/session_logger"
+#define _PATH_RUNCOM "/etc/rc"
+#define _PATH_RUNDOWN "/etc/rc.shutdown"
+#define _PATH_REROOT "/dev/reroot"
+#define _PATH_REROOT_INIT _PATH_REROOT "/init"