Re: [hatari-devel] From a short trip to Windows land |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] From a short trip to Windows land
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Mon, 16 May 2016 08:38:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1463380740; l=1131; s=domk; d=seimet.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=OtOzXFTQpboiUZmOgGq1i3lZ324H5B6wh5Acc04B2gk=; b=LcxJec+Mv4hFz9qhF9SbCgG5yQvBQ9Mdj7wVIJApAAlNPPJXTjbBzFFRcySkFwKK4mJ 6yVXhgIFffmpzrFbmSNSXtxvzo3Ws193ChTCvpzJtKEFNMm0h7FgG9f2aQ9HfJ90RRaw9 00KI/1fFbe/WQlAoVdtdkglM32B/eFwDRc4=
Hi,
Without udev the SCSI Driver itself gets the media change message when
the device reports it. When udev is active udev gets this message, and
the SCSi Driver has to (indirectly) get the message from udev.
All in all a device reports a media change only once, even though
several processes may be interested in it. This is why special handling
is required, not just with Linux but in general.
Take care
Uwe
> Am Sun, 15 May 2016 23:12:57 +0300
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>
> > Hi,
> >
> > On 05/15/2016 10:13 PM, Thomas Huth wrote:
> > > schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > >> * You broke NatFeats SCSI message. It's about media change
> > >> notifications on *systems with udev*. On other systems
> > >> the code works fine without that support.
>
> I had a very quick look at that code. Apart from the fact that it does
> not match Hatari's coding style (please pay attention to that when
> you accept new code!) ... how is media change notification supposed to
> work on systems *without* udev? I couldn't spot that part in the code
> yet...
>
> Thomas
>
>