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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=cl BGJpjcLBGiqIc++K6pv30BVzninZOSjQY4S4zXSXNaHwRFliRRINNlxdpqVttuS+ tApOAe39GuUKAs3czq4GQuW3ZRK3JrlpTH4EkNkAsbLg1Aij31DfqQ46A1X85rG6 cxRNmjUREeQdwyplv8xNnRM2Zc95VOuuUrN8h+/Bk= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=G50DHh4o +SL4g0QoliNmNLB5GyE=; b=qm8K5inOJhi1QdSfFdF6JujuEqgu8TE2QV2vMRPQ YgJpKB1eYJbyPQN7MO3ipQg+wonMy8dikV47jc/R1PxbfB4e2jxf3mS5PbULTF+z /McaY2HqRiYemCDZoom0hMnwtA4e85CIllwzEN54MvfSotXyuDf8ATqV+L+SXW/Q HLk= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ig0-f169.google.com MIME-Version: 1.0 X-Received: by 10.50.112.165 with SMTP id ir5mr5147795igb.44.1414171686952; Fri, 24 Oct 2014 10:28:06 -0700 (PDT) In-Reply-To: <14710326042.20141024202019@yandex.ru> References: <14710326042 DOT 20141024202019 AT yandex DOT ru> Date: Fri, 24 Oct 2014 11:28:06 -0600 Message-ID: Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1 From: Keith Christian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Here's a function for you Andrey, in appreciation for all the work you contribute to Cygwin: type uname_r uname_r is a function uname_r () { uname -r | sed -e 's/[.(/\)]/_/g' | sed -e 's/\(.*\)\(_$\)/\1/' } uname_r 1_7_32_0_274_5_3 On Fri, Oct 24, 2014 at 10:20 AM, Andrey Repin wrote: > Greetings, Corinna Vinschen! > >> For your convenience I wrote new documentation. Since this is a TEST >> prerelease, the new documentation is not part of the official docs yet. >> Rather have a look at > >> https://cygwin.com/preliminary-ntsec.html > > "via an undocumented APIr " should be "... API, " probably. > >> If you read it >> (which I seriously hope for) and it's all just incomprehensible >> gobbledygook to you, please say so on the mailing list > >> cygwin AT cygwin DOT com > >> so we have a chance to improve the documentation. > > I'm in the process of reading it. Goes slowly, but that's due to my head > condition. It really a very good read, thank you. > >> - /proc/cygdrive is a new symlink pointing to the current cygdrive prefix. >> This can be utilized in scripts to access paths via cygdrive prefix, even >> if the cygdrive prefix has been changed by the user. > > Hm. The prefix currently set to just "/". > > $ ls -l /proc/cygdrive > lrwxrwxrwx 1 anrdaemon None 0 Oct 24 20:17 /proc/cygdrive -> /proc/cygdrive > > $ ls -l /proc/cygdrive/ > ls: cannot access /proc/cygdrive/: Not a directory > > Is this... normal? > Or what this is supposed to be at all? Shouldn't it be a simple text file > containing current cygdrive prefix? > >> - /proc/partitions now prints the windows mount points the device is mounted >> on. This allows to recognize the underlying Windows devices of the Cygwin >> raw device names. > > $ cat /proc/partitions > major minor #blocks name win-mounts > > 8 0 78150744 sda > 8 1 78149688 sda1 C:\dev\sdb1\ > 8 16 78150744 sdb > 8 17 102400 sdb1 > 8 18 131072 sdb2 > 8 19 77916160 sdb3 C:\ > 8 32 488386584 sdc > 8 33 486615520 sdc1 C:\dev\sdb1\dev\sdc1\ C:\dev\sdb1\d\ C:\dev\sdc1\ > 8 48 312571224 sdd > 8 49 312568641 sdd1 C:\dev\sdb1\dev\sdd1\ C:\dev\sdd1\ > 8 64 0 sde > 8 80 0 sdf > 8 96 0 sdg > 8 112 0 sdh > > I approve of this product and/or service. > I would use a mountvol data around here somewhere, too. But it's useful as it > is already. > >> - New API: quotactl, designed after the Linux/BSD function, but severly > severely? I'm no expert, but that's probably the right form. > > A slightly unrelated request, but... I just had an issue I could prevent if > applying brain to hands, but... would it be a feasible request to make the > output of 'uname -r' suitable for naming a file? > > > -- > WBR, > Andrey Repin (anrdaemon AT yandex DOT ru) 24.10.2014, <19:51> > > Sorry for my terrible english... > > > -- > 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 > -- 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