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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 3 Dec 2003 17:35:58 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Joaquin cc: cygwin AT cygwin DOT com Subject: Re: Where are mount points stored? In-Reply-To: <001301c3b9ec$42408190$c901a8c0@macross> Message-ID: References: <001301c3b9ec$42408190$c901a8c0 AT macross> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 3 Dec 2003, Joaquin wrote: > Hi, > > I found the mount points on my system using mount, but I was wondering > if how these are stored. There is no discernable fstab or something > similar in the /etc directory. > > - joaquin Yessss! I finally found a perfect use for the WCTYBTWHTKY acronym (). ;-) The main question is (seriously): why do you care? If it's simply to satisfy your curiousity, the mounts are stored (for the moment) in registry keys, as you could have found out by reading the Cygwin sources (namely winsup/cygwin/path.cc). However, when people find this out they usually start wanting to go into the registry and change the mounts there, and that's unacceptable[*]. So, here's a big DISCLAIMER: do not attempt to change the mounts via regedit or other registry editing software. Always use "mount" to change your mounts. That way, you won't be blindsided when mounts do move to /etc/fstab or something. Igor [*] The only legitimate use of the registry mount knowledge that I can think of is checking whether there are user mounts for the SYSTEM user (there shouldn't be). -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/