Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /var/lock



On Jan,Tuesday 4 2011, at 2:51 AM, Takahiro Kambe wrote:

> Hi,
> 
> In message <C5724E4B-3267-40D5-A93A-425072BB2C20%gmail.com@localhost>
>       on Tue, 4 Jan 2011 02:46:17 +0100,
>       Adam Hamsik <haaaad%gmail.com@localhost> wrote:
>> I would like to have something persistent between reboots. I have found 
>> that we already have /var/spool/lock. Therefore /var/spool/lock/lvm/ 
>> seems to be might preferred place. Do you agree ? Also /var/spool/lock 
>> is not mentioned in hier.
> Are they really *lock* files?

It's lvm subsystem lock file. Does it need to be specific in any way ?

> 
> Anywaym I think it should be /var/db/lvm for them unless those files
> are temporary files like printer outputs.

So we have these options:

1) /var/lock/lvm -> needs much more discussion 
2) /var/spool/lock/lvm 
3) /var/run/lvm -> not persistent, it needs to be recreated every time
4) /var/db/lvm

What would you prefer ?

Regards

Adam.



Home | Main Index | Thread Index | Old Index