LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2005, 02:57 AM   #1
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
/var/lock/subsys/


/var/lock/subsys/

Just curious, what is the use of these files in here, how do they work?

Thx
 
Old 07-21-2005, 07:18 PM   #2
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
I'll give this a friendly bump, now all you Americans are awake and online :-)
 
Old 07-21-2005, 08:27 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I think it's a Red Hat'isn -- apps "touch" a file in /var/lock/subsys when they start and remove it when they're done. That way you can easily see if a copy of an app is running (if you want to screw with the system, you can touch or rm the files yourself ).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 17 07-12-2016 03:50 AM
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 03:35 PM
How does minicom write to /var/lock Wim Sturkenboom Linux - General 2 10-26-2005 04:28 AM
subsys lock? Travis_NOOB Fedora 0 09-28-2005 05:51 PM
can't lock /var/run/crond.pid robeb Linux - General 0 06-08-2002 01:26 PM


All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration