LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 01: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, 06: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, 07:27 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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



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 24 04-12-2019 10:42 AM
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 02:35 PM
How does minicom write to /var/lock Wim Sturkenboom Linux - General 2 10-26-2005 03:28 AM
subsys lock? Travis_NOOB Fedora 0 09-28-2005 04:51 PM
can't lock /var/run/crond.pid robeb Linux - General 0 06-08-2002 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 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
Open Source Consulting | Domain Registration