the bitrig master branch has been updated by patrick with 2 new commits:

commit 29ce62060773c66c4351b641fe8ae75e70852d3c
diff: https://github.com/bitrig/bitrig/commit/29ce620
author: Patrick Wildt <[email protected]>
date: Thu May 21 15:51:46 2015 +0200

sync

M       distrib/sets/lists/base/md.amd64
M       distrib/sets/lists/base/md.armv7
M       distrib/sets/lists/base/mi
M       distrib/sets/lists/comp/mi

commit a7946cda8206729a724ff008e147735147fd050e
diff: https://github.com/bitrig/bitrig/commit/a7946cd
author: Patrick Wildt <[email protected]>
date: Sat May 16 16:10:14 2015 +0200

Implement pivot_root based on Adrian Steinmann's diff at NetBSD.

This commit implements pivot_root, similarly to the Linux command.
It replaces the root node / with another FS that was mounted
under that root node.

For instance:
 # mount /dev/nbd0a /mnt
 # pivot_root /mnt /mnt/old

/mnt now becomes /. The old / is available under /old.

ok pedro@

M       lib/libc/shlib_version
M       lib/libc/sys/Makefile.inc
M       sys/kern/init_sysent.c
M       sys/kern/syscalls.c
M       sys/kern/syscalls.master
M       sys/kern/vfs_syscalls.c
A       sys/sys/pivot_root.h
M       sys/sys/syscall.h
M       sys/sys/syscallargs.h
A       usr.sbin/pivot_root/Makefile
A       usr.sbin/pivot_root/pivot_root.8
A       usr.sbin/pivot_root/pivot_root.c
A       usr.sbin/pivot_root/pivot_root.h

Reply via email to