You are not logged in.

#1 2013-04-30 23:21:44

Registered: 2008-08-15
Posts: 103

DB Lockfile

Arch when running from flash sticks or SSD enjoys better speed and less wear with /var things moved into tmpfs. Between /etc/fstab and /etc/tmpfiles.d they're pretty easy to move. I keep the whole pacman cache in tmpfs but this question is about db.lck. Pacman keeps a file called db.lck when running. This file lives inside /var/lib/pacman by default.

1. Does db.lck not better belong in /var/lock ?

2. Does pacman have a conf flag for db.lck (not its whole folder)?

3. Would a (usually broken) symlink to tmpfs work as drop-in replacement for db.lck ?

Many thanks


Board footer

Powered by FluxBB