Simple chroot using chdrive

Alex garbanzo@hooked.net
Wed Nov 26 16:08:00 GMT 1997


On Tue, 25 Nov 1997 vischne@ibm.net wrote:

> There's a really simple way to implement the Unix `chroot' function:  You
> just use the Dos `chdrive' function in RTLDLL.  I wonder why noone has
> done this, and why `chdrive' is only accessible from ming32?

What exactly does chdrive do?  Chroot, changes the location of / to
whatever _directory_ you choose, which could be on any drive in theory.

- alex

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list