[lug] Lock files....

John Starkey jstarkey at polaris.umuc.edu
Wed Apr 19 17:14:23 MDT 2000


Thanks Michael. That clears it up. 

You wouldn't happen to know where I can find a program or site that helps
troubleshoot the pipe(?) from /dev/lp0 to the Lexmark.

Thanks again,

John


On Wed, 19 Apr 2000, Michael J. Hammel wrote:

> Thus spoke Grissom
> > Good question.  I am wondering the same.  I keep finding a lock file in my
> > $HOME/.netscape directory whenever I open more than one window of
> > Netscape.  Whats that all about?
> 
> Lock files are usually ordinary files created by a program as a way of
> preventing multiple instances of a program from accessing a given resource.
> For Netscape, it prevents a second instance of Netscape from mucking with
> the netscape cache.  For lpr, it prevents two instances of the printer daemon 
> from attempting to talk to the printer at the same time.  
> 
> There are many methods for preventing two or more instances of a program
> from using the same resource at the same time.  Lock files are just one
> such method.
> -- 
> Michael J. Hammel                               The Graphics Muse 
> mjhammel at graphics-muse.org                      http://www.graphics-muse.com
> ------------------------------------------------------------------------------
>   Finally, one has to just shut up, sit down and write.  --  Natalie Goldberg
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 





More information about the LUG mailing list