X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Q0DvzSvnwKIiBAL/ yz5tbzupIWKVt3myjciSR5+0nvE7CLOAeJCV34qQQzbTeB76JBFNsDyJVQTxwKTF p4gIpykOxuKRZnSWeoMpfng66SL4OJivjbIf4XhkQDqHSykARUWeb2oCaT+zWEg3 4s8HvTyMxTkUn6M0KiJoYIJP2mA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=wGPnONaGJuChupsq+tCvtc XkSvU=; b=M8EwSV2FHQlNocXoIvm0GpA53Cr7BhXtBRpgG70g5UIdUADyl9ToZZ xBSTSVdSuSgy/zVUor5S4aMybLwUBaxfmZ3JW9amUVhZkyIgbqU2C05DOjC6NC4m eND3D5DPFJmVdreDY9P5flWshOqfxIHpJ5DbXKaTnXR/HlHMLzOR8= 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=canada, Canada, H*M:91fd X-HELO: smtp-out-so.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ... To: cygwin AT cygwin DOT com References: <20190827152549 DOT GY11632 AT calimero DOT vinschen DOT de> <8736hm7aun DOT fsf AT Rainer DOT invalid> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <0dd2f7d8-f07e-b53f-91fd-1edc0fd11199@SystematicSw.ab.ca> Date: Tue, 27 Aug 2019 14:37:23 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <8736hm7aun.fsf@Rainer.invalid> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2019-08-27 11:54, Achim Gratz wrote: > Corinna Vinschen writes: >> mkdir(2) has some special code from 2009 which drops trailing >> {back}slashes to perform a bordercase in mkdir Linux-compatible. >> This code snippet doesn't exist in rmdir(2). > > While we're discussing oddities, creating symbolic links in the virtual > /dev directory still works and those links show up in the real > (underlying) Windows directory as well. This is why the Bash > postinstall still works and I'm not sure if it should do that the way > it's written. https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices lists the process devs, "udevs", and NT mappings, and specifies that the /dev directory is real to allow symlinks like cdrom/dvdrw -> sr0/scd0 and gps0/pps0/gpspps0 -> ttyS0. I notice /dev/kmsg documented but no longer appears, but /dev/log[=] exists if syslog-ng is running; and /dev/pipe and /dev/fifo are mentioned but don't exist. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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