Fabrice FACORAT wrote:

>>/lib/dev-state is changed only when you change permission/modes or 
>>manually create file. It does not matter what is there.
>>
> 
> so we must use the plain device name or else make sda4 in dev-state
> 


You realy do not understand?  This will work only the first time ever. 
After media is ejected this is removed again. To add to confusion, when 
you eject using hardware button, Linux does not notice it immediately 
and does not remove link (so it looks "as if it works"); but if you 
eject programmatically, e.g. with eject command, link disappears. Now 
try to explain this to newbies.

-andrej




Reply via email to