tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: EuroBSDcon slides: pivot_root for BSD including NetBSD code



On Sat, Oct 20, 2012 at 04:17:35PM +0200, Adrian Steinmann wrote:
> http://marabu.ch/pivot_root_eurobsdcon_2012/index.html
> 
> I looking for feedback especially if we should integrate this
> into a mount -t pivot / mount_pivot program piggy-backing the
> mount syscall instead of giving it its own syscall which would
> entail a libc bump. The patch above still uses a new syscall (hence
> touches quite a few files on only one line) and the userland
> program "pivot_root" calls the syscall by number so don't forget
> to modload the kmod :-) First feedback seems to indicate we prefer
> integration into mount.

Can this be used for filesystems other than root? i.e.
mount -t pivot -o old=/old_usr /dev/wd1x /usr

eric



Home | Main Index | Thread Index | Old Index