[clue-tech] procmail: /tmp vs /var/tmp
Angelo Bertolli
angelo at freeshell.org
Wed Jan 12 17:19:21 MST 2005
Jeff Schroeder wrote:
>Angelo asked:
>
>
>
>>I wanted to know where the best place to put my procmail lock file.
>>I'm thinking it should be /tmp and not /var/tmp because procmail
>>shouldn't remain locked after a reboot. Does this seem right to
>>others?
>>
>>
>
>According to the Filesystem Hierarchy Standard, which many distros
>adhere to, lock files should be placed in /var/lock. When the system
>is shut down, the shutdown scripts *should* delete any lock files in it
>before power-off. That way, upon reboot you don't have any stale
>locks.
>
>HTH,
>Jeff
>
>
FHS seems to imply that /var/lock is for devices...
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLOCKLOCKFILES
I can't tell if that's what they're implying, or if they're just writing
a big paragraph about devices to tell you the lock file naming convention.
Angelo
More information about the clue-tech
mailing list