bug-ddrescue
[Top][All Lists]
Advanced

[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: Felix Ehlermann
Subject: Re: [Bug-ddrescue] [PATCH] Add proper device size and name detection on Haiku
Date: Tue, 4 Nov 2014 02:45:55 +0100

Dear Antonio,

wouldn't it be possible to implement some kind of plug-in support in
ddrescue?

This way other people (like Francois) could possibly contribute their
(platform specific) features by providing plugins. The plugins would of
course be platform specific - but ddrescue remains POSIX compliant while at
the same time it would gain a lot of additional features on certain
platforms.

One example would be the start of a recovery:
If there was some kind of event, callback, hook, etc. that is raised/called
before the device is being accessed, a plugin could for example send some
device specific commands to disable bad sector relocation before ddrescue
continues with its usual operation.
(IIRC the discussion about this some while ago on the list this was not
possible using POSIX compliant code, but if it was platform specific code it
would be possible to implement.)


Kind Regards
Felix Ehlermann

-----Ursprüngliche Nachricht-----
Von: address@hidden
[mailto:address@hidden Im Auftrag von
Antonio Diaz Diaz
Gesendet: Dienstag, 4. November 2014 02:07
An: François Revol
Cc: address@hidden
Betreff: Re: [Bug-ddrescue] [PATCH] Add proper device size and name
detection on Haiku

Hello François,

François Revol 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.


Regards,
Antonio.


_______________________________________________
Bug-ddrescue mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ddrescue




reply via email to

[Prev in Thread] Current Thread [Next in Thread]