delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/17/05:54:18

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=O8CjqYaBGvIgsqEE7lHejwTcFMM+z8KYk55F5/uH6N8hQjkg7gn6e
hLuddbf/gmwUsmOSUDQ3fQ8dyPRZGf8TbebLDGw6vryW9P8V02Zdyk7LcZeA5JzQ
Ktm6y7bIkL3Sf5k/hRcYEWYI42rWB74SRs+xGrIhhx0vO8/5uObImE=
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=rwi0Fj65odARpdtsYQ2K3aMLgRo=; b=Cil7htFPTgSuGr+LYZTiVkao/aH2
EhC20zAsRLhpz6w5CNIQenJi81CNFjr4SJ9CKsCFd4X5pDpBJ9oEDcGUKtix2wrW
8tj5qjl/Q2c6s3avEpTaglobK4NAA4jupBXDCdido4elCAlI9JkH7z/Rysd7VgHc
hy7/58xlLGm9e4Q=
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: Wed, 17 Dec 2014 11:53:49 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fdisk -l is mute
Message-ID: <20141217105349.GA29786@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> <20141211174551 DOT GJ3810 AT calimero DOT vinschen DOT de> <loom DOT 20141217T052000-586 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20141217T052000-586@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

Hi Brian,

On Dec 17 05:45, Brian Inglis wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > On Dec 11 18:38, Christian Franke wrote:
> > > A quick look in the source shows that the function sysfs_devname_to_d=
evno()
> > > now only checks the path /sys/block/sdX/dev if the device name does n=
ot
> > > start with /dev/. I presume upstream has removed a fallback to /dev/s=
dX
> > > because this is no longer required on Linux.
> >=20
> > Hey, I'm off the hook on that one, cool! :)
>=20
> As Cygwin does not provide /sys/block/sdX/dev, should fdisk be patched for
> Cygwin to enumerate and prefix the device names from /proc/partitions with
> /dev/ so that --list without arguments works as expected?=20

Wouldn't asking upstream to revert the code removal be a start?  I'm
sure they simply didn't know that there's another platform relying on
the code (and not being able to provide a functional /sys emulation).

> If I could configure the ! package, I could test if a patch like the
> following would work:=20

Ideally you should use cygport to do that.  Unpack the util-linux
source archive, cd into the created source dir, call

  cygport util-linux.cygport prep

Then change into the util-linux-${version}.${arch}/src dir, apply
your patch, go back to the dir containing the util-linux.cygport file
and call

  cygport util-linux.cygport compile


Corinna

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

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJUkWC9AAoJEPU2Bp2uRE+gbW0P/R6USmeVII9PH5YrzfUBOybx
CQIxamP5q1L924xCwAE2kum6+V/pr2rmYs8Lf63R5S5q4J8EGoxAZ7C2H0UFcgKR
F+bECzIPeG+yPgUbA4KUSAVm2fmIlnyBdAJb1dkwxpmrBDUGCh4aADVKNZESGpRb
2pnjcRNTlZi3lBCgTy6u0LZfVFUxNGBfed76pQKQqhFqeZ1gpvaimOIk48yjYW5h
giWgpbmWpJgiUeEVQR+qXvMDUYdqb/tPFlBE64IrTcPZzaH4cpeP8uZbGf0HdzYP
GzatGmBORNKAgSUg3HC30odXgXSgw0DN+Y5NhjAjFLtOy83aK649QKf2jnJyZvLL
+H+tQl+aAeDPA7YzI9zvlFrP8rw5AnAURoDjfJGa1F3XkGY+3QB5If2oAbpCBZTk
3/5ekIDUvmrsDrvmezcVuvykvQeFCiioR38amtddw/3+DBOjL9C4GFgT5U/8FvQ3
/0uIdKbykXzJUULMplUeXf7lZ9W7NSlP5IBcWehoGZ6o03XjqKYKo/D80YgxCTmh
tfZ3mJyOKYgsZ9cy6dnLydT3XZXb4tChOv5sSh8J/y635lU7lfDxJnD3AsHIdukp
eYEe1JU9bI3cN6BxW9vyQjCawPFgfruoimvRXz84OxeIAcdXPjInDsFhSnEWxrSm
MYcUWDcbiBD1bXOcDuGG
=37cp
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--

- Raw text -


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