delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/11/12:46:09

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=XHJQ9hff8GwvF9Ol+7pUEmYdLfkbNag65QFsCgiO5KDXkAhd3GqaJ
vNdYSwaAXS/qkLO8HdF4YWAsUXIlONDW4S3bFjcYWM4inxvYwi49fj3AsyUYd5eq
V+bgc6MnMKmvWIZ++Y2pRlLBw0zuyZ12+f/QwksmQGUm0JmkrWZxG8=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=qNdkacCr43r7K7fk+a7/28TNvfM=; b=Ptjce+Kc7+vT/1W3pHizvnNqMVXn
BBptZqRvcTG7Yhc975alFoqOiw3URkDtZsuFEkUSm9lN62g1QyHwnECNho2xIOqh
rpC452EgWMcXZtetAaJz3qme+uIXJNlRULSit46rFygM7dZREpRCgg1DqM/sN5/H
XhVSalxy2sSBskE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 11 Dec 2014 18:45:51 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fdisk -l is mute
Message-ID: <20141211174551.GJ3810@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <5489D67D DOT 4060104 AT t-online DOT de>
MIME-Version: 1.0
In-Reply-To: <5489D67D.4060104@t-online.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--ZSdvA9YEY8RSCMrU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 11 18:38, Christian Franke wrote:
> 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?
> >
> >
>=20
> It doesn't.
>=20
> 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.

Hey, I'm off the hook on that one, cool! :)


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ZSdvA9YEY8RSCMrU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUidhPAAoJEPU2Bp2uRE+gewQP/1dYYAXbue/oHCDI+bvifEx8
KPQ/ABDWQCTd9Obaa5AARLbGbkkUn8JBUzLvI7T5UjvF8pjhYHX2Oa2TDMZpy5eZ
uACZfq1cIC44WDIJb1v5SKtcQoYxWnJOaxtiFlrAlCRc/Yz/YucfYqffIJibolUY
yxUZVK7/QeoHDQMh5vnwoPqN+unA7sMpzTTS14QpGQMr0bysBEf1XaVvfVty7z8z
Mtt8sHNt3fywc3ux3LXj+XdikkbFYxvBW9X4rvvJzr4Nx2a2447AxO2l/Rx9dY7B
+D5iNunzIfORDOTFJ5w/yT/mWxivLPQOiyV19POGxJYte6zxj008cJypvknHYIY8
O2gO+nYIfORS0/2miE2ZX+D+4VFtnYnRrTlspY4OUI6RT0B8E02oqKdA0FFy1a//
EzwgXaOFupyOtYpgl7+5gRmC1I3yt0TBCMjrYBrjCjnju0fKyDtBEs7OD43eE7IH
PfryPUxWPHIHH2cb2NpcGaSVeuLPWIfrIzFaWVkiPP8DYtRHaRAvfjxaJ3RRsiya
FJFXjOGeUmC0a5SkxDJpukEg6IoqKqYQf1VRPfngI8Z4CkDeF6s0+HhqH4KUDA4Z
KoFPraY9mdrG+skfVj6xVM4o+u58z6qRMUgn+GfAGwRYTfV86FU5Va0+Wn7ECS/Q
zAEkunu/kypTeFGGnUr1
=h+wf
-----END PGP SIGNATURE-----

--ZSdvA9YEY8RSCMrU--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019