Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040322234109.03c16580@127.0.0.1> X-Sender: Date: Mon, 22 Mar 2004 23:51:15 -0500 To: "Karl M" , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: setup changes my mounts In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:16 PM 3/22/2004, you wrote: >Hi All... > >I used to have all of my mounts set to binary mode. Now for cvs reasons, I have my cygdrive prefix set to test mode. I just do a "mount -cst /" to set it up. > >When I run setup to update my install, my cygdrive prefix reverts to binary mode. The prefix remains "/", but the mode changes. I had expected that after my initial install, setup would leave my mounts alone. > >Is there any way to prevent this, or should I just get in the habbit of running "mount -cst /" each time I update? My cursory review of the setup code for installing suggests that you'll need to feed your habit. Setup's behavior is the safer way to handle this kind of thing, if you think about it. Otherwise, it would be possible to attempt an installation into stale directories, for example. Not that this isn't "fixable". PTC ;-) FWIW, I found the code for this in do_install_thread() in install.cc. The code reads: create_mount ("/", get_root_dir (), istext, issystem); create_mount ("/usr/bin", cygpath ("/bin"), istext, issystem); create_mount ("/usr/lib", cygpath ("/lib"), istext, issystem); set_cygdrive_flags (istext, issystem); The parameters for setting the mount type and the scope come from settings in setup itself, not from any previous registry entries. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/