mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@redhat.com>
To: dmo@osdl.org (Dave Olien)
Cc: hch@infradead.org (Christoph Hellwig),
	marcelo@conectiva.com.br, alan@redhat.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] DAC960 open with O_NONBLOCK
Date: Mon, 21 Apr 2003 16:14:44 -0400 (EDT)	[thread overview]
Message-ID: <200304212014.h3LKEiE00854@devserv.devel.redhat.com> (raw)
In-Reply-To: <20030421190111.GA27126@osdl.org> from "Dave Olien" at Ebr 21, 2003 12:01:11

> John Kamp has run across a libhd applcation from Suse that hit this bug.
> It's some kind of hardware detection application.  It opens devices with
> O_NONBLOCK.  But, it doesn't in fact use the DAC960 pass-through commands.

It should be checking major/minor first - rightfully or wrongly (I'd 
favour wrongly) open has side effects on multiple devices.

> The difficulty is that the Mylex application is available only in binary
> form.  Mylex is very secretive about its controller commands.
> It would be nice to be able to create a library that an application
> could call to perform high-level operations, and the library would
> construct the pass-through commands and pass them to the driver.
> Then, anyone could write their own GUI.

Or someone could just stick a command dumper in the driver. Thats how I
wrote ps and a few other utils for my aacraid 8)

  parent reply	other threads:[~2003-04-21 20:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-21 17:24 Dave Olien
2003-04-21 17:37 ` Christoph Hellwig
2003-04-21 19:01   ` Dave Olien
2003-04-21 19:04     ` Christoph Hellwig
2003-04-21 20:14     ` Alan Cox [this message]
2003-04-21 21:35       ` Dave Olien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304212014.h3LKEiE00854@devserv.devel.redhat.com \
    --to=alan@redhat.com \
    --cc=dmo@osdl.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®