Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38C1D39C.9E2223A3@work.net> Date: Sat, 04 Mar 2000 21:25:16 -0600 From: Thomas Topp Reply-To: ttopp AT ionet DOT net Organization: @Work X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: [Fwd: changing mount. (ttopp)] Content-Type: multipart/alternative; boundary="------------5BD567923A0689E64BD72E44" --------------5BD567923A0689E64BD72E44 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi, received an answer: You can change the root following these steps: 1: umount / 2: mount -b f:\cygnus\cygwin~1 / ....! you will be told that " / " does not 'exist. ! At this point type 'exit' and start it up again. typing mount will show: BASH.EXE-2.02$ mount Device Directory Type Flags e:cygnuscygwin~1 / native text!=binary BASH.EXE-2.02$ :) Thomas Topp wrote: > hi, > > i have been trying to change my mount point . > > it defaults to : c:\ > > i am trying to change root to: > > c:\cygnus\cygwin-20 > > HOW IS THIS DONE? > > The documentation has two sentences pertaining to this. (enclosed ). > > thank you. > > -t > > > Directory Structure > > Cygwin knows how to emulate a standard UNIX directory structure, to > some extent. This is done through the use of mount tables that map > Win32 paths to POSIX ones. The mount table may be set up and modified > with the mount command. This section explains how to properly organize > the structure. > > When you set up the system you should decide where you want the root > to be mapped. Possible choices are the root of your Windows system, > such as c: or a directory such as c:\progra~1\root. > > Execute the following commands inside bash as it is difficult to > change the position of the root from the > Windows command prompt. Changing the mount points may invalidate PATH, > if this happens simply exit and relaunch bash. Create the directory if > needed, then umount / the current root and mount it in its new place. > You also have to decide if you want to use text or binary mode. > > > -- > Thomas Topp > ttopp AT work DOT net > (405) 619-9675 > > "when it works... it works great." > -- Thomas Topp ttopp AT work DOT net (405) 619-9675 "when it works... it works great." --------------5BD567923A0689E64BD72E44 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  
hi,

received an answer:
 

You can change the root following these steps:

  1:   umount /
  2:   mount -b f:\cygnus\cygwin~1 /

....! you will be told that   " / "  does not 'exist.  !

At this point   type  'exit'  and start it up again.

typing   mount will show:

BASH.EXE-2.02$ mount
Device           Directory           Type        Flags
e:cygnuscygwin~1 /                   native      text!=binary

BASH.EXE-2.02$
 

:)
 
 
 
 
 

Thomas Topp wrote:

hi,

i have been trying to change my mount point .

it defaults to :    c:\

i am trying to change root to:

    c:\cygnus\cygwin-20

HOW IS THIS DONE?

The documentation has two sentences pertaining to this. (enclosed ).

thank you.

-t
 

Directory Structure

Cygwin knows how to emulate a standard UNIX directory structure, to some extent. This is done through the use of mount tables that map Win32 paths to POSIX ones. The mount table may be set up and modified with the mount command. This section explains how to properly organize the structure.

When you set up the system you should decide where you want the root to be mapped. Possible choices are the root of your Windows system, such as c: or a directory such as c:\progra~1\root.

Execute the following commands inside bash as it is difficult to change the position of the root from the
Windows command prompt. Changing the mount points may invalidate PATH, if this happens simply exit and relaunch bash. Create the directory if needed, then umount / the current root and mount it in its new place. You also have to decide if you want to use text or binary mode.
 

--
Thomas Topp
ttopp AT work DOT net
(405) 619-9675

       "when it works... it works great."
 

--
Thomas Topp
ttopp AT work DOT net
(405) 619-9675

       "when it works... it works great."
  --------------5BD567923A0689E64BD72E44--