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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=E0kYcwcKGYFof+Y+SuMNTrqOEx9GbAEFGfIUNCzvMwL K+DLjEeLI1RhJCk6SX4AjMLMtHNN+XsC6Zyp9VuUQE4MUAnxXIaop3d0+lFwg0HJ Fq5BukD+BMMZIZaOXi8DR8NSgv0fW3kWkZPsyNtRouKftZEcBkY/aUVQmC+Md4tQ = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=vVydbxLiM1wuVu1pViTE6Wi8kZE=; b=aIc1WNKJysWcztP5s kS9lbcGbgoIbT3kqgGAxZNvd2VUyE3pndCa5b0xEnIaDcGkukM2S6wxY/dBbZjS0 d3+yLtMAlbihf1Y/sd2WPZA8VRV6zQQ6HN0/RROb/OaCW9krW+m0g6ydaV0r9m88 59vFT0cu5ukgeMRm2XzuFsEZPg= 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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailout09.t-online.de Message-ID: <5489D67D.4060104@t-online.de> Date: Thu, 11 Dec 2014 18:38:05 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.31 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: fdisk -l is mute References: <9D9AC45310887B40A7245734E850FBE11192AEE0 AT FS-MX02 DOT frontier DOT local> <5488BD32 DOT 9090502 AT t-online DOT de> <20141211102335 DOT GC3810 AT calimero DOT vinschen DOT de> In-Reply-To: <20141211102335.GC3810@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Corinna Vinschen wrote: > On Dec 10 22:37, Christian Franke wrote: >> Fergus Daly wrote: >>> If util-linux is installed then >>> $ /usr/sbin/fdisk >>> returns a list of options as expected; but choosing one of them >>> $ /usr/sbin/fdisk -l >>> is mute. >>> In the past this has returned filesystem summaries as expected. >>> Windows 7, all up to date. >>> Anybody else? >> Could reproduce this. >> >> The option -l still works if a device is specified: >> >> # fdisk -l /dev/sdX >> ... >> Disk /dev/sda: 1.8 TiB, ... >> >> Is this probably because the format of /proc/partitions has changed due to >> the new (& useful!) win-mounts column? > The win-mount column is empty for disk entries, only filled for > partitions. In theory that shouldn't bother fdisk which only looks > for disk entries. Or, does it? > > It doesn't. A quick look in the source shows that the function sysfs_devname_to_devno() now only checks the path /sys/block/sdX/dev if the device name does not start with /dev/. I presume upstream has removed a fallback to /dev/sdX because this is no longer required on Linux. Christian -- 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