diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-11-08 17:33:48 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-11-08 17:33:48 +0000 |
commit | 3f5ac575ea1288891300312b2fb9590c4c1483c4 (patch) | |
tree | fd5fdcec0ad6ddb8190c6cf49530ee61a9ac4753 /sbin/init/pathnames.h | |
parent | 27f38a8d699b6ffe5135ebae4641e679621a184e (diff) | |
download | src-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.h | 10 |
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" |