From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) by sourceware.org (Postfix) with ESMTPS id 4808C3857C43 for ; Sun, 13 Sep 2020 15:02:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4808C3857C43 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id HTWZkM3uB195BHTWak2m04; Sun, 13 Sep 2020 09:02:41 -0600 X-Authority-Analysis: v=2.4 cv=Wfqy12tX c=1 sm=1 tr=0 ts=5f5e3491 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=0zmEvAQCAAAA:8 a=VGssAyuV9gigFtcbQgUA:9 a=QEXdDO2ut3YA:10 a=hablJRBcYhoA:10 a=9A4MG_JYEA_VVBJ0L8hM:22 Reply-To: cygwin-apps@cygwin.com Subject: Re: [ITP] python-getdevinfo To: cygwin-apps@cygwin.com References: <610f9c29-0f34-9b07-7848-e3d90c08728f@gmail.com> <3e539041-57fd-6356-1afd-b8c86941a2b9@cornell.edu> <87o8ma19x8.fsf@Rainer.invalid> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: <265cb8a3-d120-d018-d8f3-4961d48675ff@SystematicSw.ab.ca> Date: Sun, 13 Sep 2020 09:02:39 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfAowox/oUBhVJUc0qRxuSAFFOP6hGVcT/CkSmWr2fqCNZJFOymEPUDd27SORBacbXnFVkj76lua01NgwN9OOtdljUvaaq2V61/AV/QUfCAQEkcnSUJtc HPfQGFfwV0d8O4uIJfKw/R7G+sW9LxyKvXM4tY344Wijl17mW9Nj+36gliZ6t8+68xtzQlMFl6NdtwomJpOD9mC9HTtmsdTZYkU= X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2020 15:02:44 -0000 On 2020-09-13 01:39, Hamish McIntyre-Bhatty via Cygwin-apps wrote: > On 13/09/2020 07:13, Achim Gratz wrote: >> Hamish McIntyre-Bhatty via Cygwin-apps writes: >>> Hmm, who decides (and how) what counts as a Linux distro? >> Something that is capable of and has actually done a license review. > Seems fair. >>> Either way, could anyone provide some insight as to whether bundling the >>> Cygwin DLL would allow Cygwin programs to access the virtual /dev and >>> /cygdrive paths? I have this all ready to be released for Windows, so >>> one way or another I'll need to make a bundle anyway for convenience. >> Yes, all the virtual fs are provided through the Cygwin DLL. > Excellent, thank you :) >> >>> It'd be great if it could make it into the official repos but I first >>> submitted this ITP around a month ago so I don't have high hopes as of >>> this point. >> You still haven't explained what it would be useful for. This >> bare-metal stuff isn't something I'd usually consider doing from within >> a userland compatibility layer running on Windows. > > My apologies - I thought I had but that must be a false memory. This > module is a device information collector, and in Cygwin's case it makes > it easy for users of DDRescue-GUI to find the link between the Windows > drive letters and Cygwin paths. It also provides other information such > as make and model, but this is limited on Cygwin because some of the > more low-level device management utilities don't exist, probably due to > bits of missing API as explained to me by Corrina (at least I think it > was her). It behaves very similarly on macOS and Linux, except it just > needs to inform the user of device details instead of also relating to > drive letters/Windows names. > > This is basically just a dependency for DDRescue-GUI (a GUI I wrote for > GNU ddrescue), and I had interest on getting this running easily on > Windows, so I thought Cygwin would be the way to go for better > compatibility. You can find DDRescue-GUI here: > https://www.hamishmb.com/html/downloads.php?program_name=ddrescue-gui > and the user guide is available from the nav bar if you want more > information about it. > > Does that answer your question - hopefully I didn't miss the point. Package smartmontools has access to some low level disk I/O features when run elevated under an admin account. -- 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. [Data in IEC units and prefixes, physical quantities in SI.]