Re: how to have hal be selective

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2004-11-28 at 10:45 -0500, Alan Cox wrote:
> On Sat, Nov 27, 2004 at 11:58:50PM -0500, Jeff Spaleta wrote:
> > Hal doesnt mount anything by itself.... 
> > maybe you are refering to gnome-volume-manager, which interacts with
> > hal to mount storage devices and deal with removable media when
> > inserted.. assuming you are running gnome.  My understanding is, at
> 
> Hal polls devices and that is enough to screw up USB burners sometimes, to
> break ide burns if there are two drives on the same bus one burning one being
> probed, and other stuff.
> 

That would *really* surprise me. 

Remember: when polling on optical drives, hald uses O_EXCL and that
should make open(2) fail with EBUSY if someone else has opened that
device O_EXCL - and all cd recording software in the Fedora distribution
should do that otherwise it's a bug.

So, assuming that hald gets EBUSY on attempting to open with O_EXCL, why
should that interfere with the hardware at all and thus break them?

Cheers,
David



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]