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. _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
