delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/27/02:34:38

From: garbanzo AT hooked DOT net (Alex)
Subject: Re: Simple chroot using chdrive
27 Nov 1997 02:34:38 -0800 :
Message-ID: <Pine.BSF.3.96.971126160853.1957B-100000.cygnus.gnu-win32@zippy.dyn.ml.org>
References: <199711251835 DOT SAA151038 AT out1 DOT ibm DOT net>
Mime-Version: 1.0
To: vischne AT ibm DOT net
Cc: gnu-win32 AT cygnus DOT com


On Tue, 25 Nov 1997 vischne AT ibm DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019