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

Re: HAL ejects



On Tue, Jan 25, 2005 at 11:07:34AM -0500, David Zeuthen wrote:
> No, that's bad advice. What happens in that setup is the following
> 
>  1. Eject is pressed; door opens
>  2. hald polls for media; oops no media
>  3. hald lazy unmounts /dev/cdrom - the media is gone so we have to
>     deal with it somehow; it's better than doing nothing
>  4. all your programs with open fd's on /media/cdrom is screwed


I do not understand why they are screwed. They cannot read (or write) 
them anymore, but programs should really handle this...


-- 
pozsy


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