umount-root-3

From: almesber@lrc.di.epfl.ch
Date: Thu Jan 20 2000 - 08:04:17 EST


Yet another version of my patch for root-hopping, for pre-2.3.40-6:

ftp://lrcftp.epfl.ch/pub/people/almesber/misc/umount-root-3.tar.gz

This one I've tested with a real NFS root. There was one problem:
rpciod is created as a child of mount, so it doesn't share current->fs
with init, and therefore doesn't leave the original / on chroot. I've
fixed it by adding a call to exit_fs to linux/net/sunrpc/sched.c:rpciod
(rpciod doesn't use files anyway).

The NFS root example is described in the README.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:23 EST