umount-root-3

almesber en lrc.di.epfl.ch almesber en lrc.di.epfl.ch
Jue Ene 20 22:15:18 CST 2000


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 en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda