X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Message-ID: <50ED3635.1010001@mailme.ath.cx> Date: Wed, 09 Jan 2013 10:19:49 +0100 From: bartels User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121123 Icedove/10.0.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: disk format question References: <50EC265F DOT 2010507 AT mailme DOT ath DOT cx> <50EC37EA DOT 8000308 AT etr-usa DOT com> <50EC3D77 DOT 5080804 AT mailme DOT ath DOT cx> <50EC8E7F DOT 4030606 AT etr-usa DOT com> In-Reply-To: <50EC8E7F.4030606@etr-usa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 01/08/2013 10:24 PM, Warren Young wrote: > On 1/8/2013 08:38, bartels wrote: >> That may very well be true, but I have a friend called locate: > > I *had* a friend called "which", but he didn't find it. > > I have now unfriended him. ;) Very funny. Yeah, know thy friends, is true. Cygwin remains a mongrel, an alien, an exotic thing in almost hostile territory. > In that case, you shouldn't be looking at /dev names anyway. They're assigned in order of device discovery, so the device that gets called > /dev/sdb or whatever depends on what happened before your code ran. It turns out that it is even easier: the device was switched to read-only. I could not see that, because it is remote. And dd does not work on udf, but format.com has no such problems. > > In Disk Management, you can permanently assign a USB key a different drive letter than the default. Now when you put it in, it appears > somewhere other than code blindly hard-coded with a /dev name expects. I know. We assign letters with diskpart. > > >> Does windows leave a trail when mounting? > > Oh, doubtless there's something buried in the NT device namespace, mentioned in the document I pointed you to. Maybe you could dump two > copies of it and diff(1) them, and assume that the one line that appears in the output is the new device. No need for that, fortunately. > Ugh. Well said. - bartels. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple