Richard Gooch wrote:
> >
> > Yes it does: I insert the floppy, you have a script running to poke
> > at the floppy and BOOM!  You own my floppy.
> 
> Nope, run a little proggy:
>     while (1)
>     {
>         stat ("/dev/floppy/0", &statbuf);
>         if (i_dont_own_it (statbuf))
>         {
>             fprintf (stderr, "It's not yours: try again later\n");
>             exit (1);
>         }
>         sleep (25);  /*  Less that the autounload time  */
>     }
> 

Great... now you want every user to do that?

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

Reply via email to