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 Message-ID: <4221177A.10501@hotpop.com> Date: Sat, 26 Feb 2005 19:42:34 -0500 From: Arturus Magi Reply-To: Cygwin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 MIME-Version: 1.0 To: Alexander Joerg Herrmann , Cygwin Subject: Re: regtool - 1.8 - Core dump References: <20050225062545 DOT 46466 DOT qmail AT web51103 DOT mail DOT yahoo DOT com> In-Reply-To: <20050225062545.46466.qmail@web51103.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Apparently-From: ERR_USER_NULL X-AOL-IP: 64.12.118.19 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j1R0h6IF004215 Alexander Joerg Herrmann wrote: > BTW: Why does CygWin use something evil like the > Window$ Registry anyway for mount points? Because a bootstrap is needed on startup. Cygwin can't tell where to look for the mount table until after it already has the Windows path to /, and it can't get that until it's found the mount table. > My Problem was that I have a X11 CygWin Installation > on my USB Stick so when traveling I can access my > Internet Host from almost any Internet Cafe running M$ > on the planet. Unfortunatly some places do not allow > to import Registry Keys which imo makes sense. I tried > a workaround by using mount which gave me a headache > mounting the root partition. So I made a script with > regtool tumbling over the above error. Well, for starters, you may want to check the man page again: >Don't worry it's easy to reproduce: >bash-2.05b$ ./regtool -K Your command line is missing the argument for the -K switch. Programs tend to work better when you don't give them broken arguments. It probably shouldn't throw a SEGV, but it wouldn't have worked anyway because you haven't given it enough information to do anything. Every combination of complete arguments I've passed the tool allows the program to run without a segmentation fault, even if the arguments aren't valid in combination or the key location is incomplete (in the former case you get the output of -h, in the latter a list of valid key root identifiers). > Who would let a buggy programm do it? Because it's not as buggy as it seems. If you can't import into the registry, then you can't import into the registry. Your program should be just as useless for those systems where writing into the registry is disabled. If it does work, there's a flaw in the system settings you're exploiting (which most Internet Cafés will ban you from returning for). -- 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/