I can see there are many lock
file here and there in my system. What is the exact role and purpose of those lock
files?
In my system I got this list,
/run/lock/whoopsie/lock
/proc/sys/dev/cdrom/lock
/var/lib/dpkg/lock
/var/lib/apt/lists/lock
/var/cache/apt/archives/lock