Re: set_fs_pwd/set_fs_root(tsk, NULL, NULL) are OK?

From: Horst von Brand (
Date: Thu May 04 2000 - 16:09:37 EST

Alan Cox <> dijo:
> In-Reply-To: <Pine.LNX.4.21.0005041715570.1446-100000@saturn.homenet> from "Tig
> ***ran Aivazian" at May 04, 2000 05:19:44 PM
> > I want to force a process to have no cwd/root (yes, a radical concept but
> > very convenient for some VFS features, e.g. when forcibly unmounting a

> Nope. You want to force the process to have an empty root that is some
> floating non entity object. That avoids special casing. Its basically a
> / that is a 'nonfs'

This would also be a nice idea for assorted daemons.

Dr. Horst H. von Brand             
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:16 EST