[rescue] advice on rescuing an e10k
Michael Parson
mparson at bl.org
Tue Oct 24 08:54:33 CDT 2006
On Tue, Oct 24, 2006 at 01:42:47PM +0200, Andrew Gaylard wrote:
> On 10/23/06, Jonathan C. Patschke <jp at celestrion.net>wrote:
<snip>
>> My main reason for using Linux is that the app I need isn't ported to
>>> Solaris, and when I tried to do the port myself, it wasn't simple.
>>> For instance, Solaris doesn't have
>>> fnctl( fd, O_ASYNC, ...)
>>
>> Well, yes. The man page on Linux says:
>>
>> The use of O_ASYNC, F_GETOWN, F_SETOWN is specific to BSD and Linux.
>>
>> Hence, they should not be used in portable code. select() or a blocking
>> background thread would be a more portable solution.
>
> I know, I know, but this is the world we live in... :-( More & more
> code is being written for a certain OS on a certain CPU family. No
> names mentioned.
Yes, but not the first time in computing history this was how it was.
10 years ago, it was all written for a different OS on a different CPU
family. Doesn't stop it from being highly annoying.
--
Michael Parson
mparson at bl.org
More information about the rescue
mailing list