[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] [PATCH] Add proper device size and name detection on
From: |
François Revol |
Subject: |
Re: [Bug-ddrescue] [PATCH] Add proper device size and name detection on Haiku |
Date: |
Tue, 04 Nov 2014 15:55:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 |
Hello Antonio,
On 04/11/2014 02:06, Antonio Diaz Diaz wrote:
>> Attached implements Haiku device size and name detection.
>
> Thank you for the patch, but I'm afraid it does not fit in the ddrescue
> philosophy.
>
> Ddrescue needs a proper POSIX system to work. The 'linux.h' non-portable
> extensions are there to provide functionality beyond what POSIX
> provides, not to work around limitations in POSIX implementations.
I pondered implementing it in Haiku, but what I've read in POSIX was at
the minimum very evasive about block devices.
I wonder what Hurd does :D
I'll add it as it seems quite straightforward and others agreed, and
I'll resend a patch for the device name.
At least you don't mix up "proper POSIX" with "Linux because we don't
care about others" (then don't even check for linux-only calls), but
still there are many other OSes out there which don't support all of POSIX.
François.