[Discuss] How does dpkg...
Patrick
Nixnik-sneaking at sneakEmail.com
Sat Feb 15 16:11:56 PST 2014
...Get an exclusive lock on /var/lib/dpkg/lock ?
That backup script will wait, if it sees any package management
type stuff going on, instead of trying to back-up the system
*while* the system is being modified. You can see how doing
otherwise could get ugly, yes?
I'd like the script to also get an exclusive lock on the file
when its turn comes around, in a way that dpkg will recognize
[flock didn't work], then release said lock when finished.
Thanks,
Patrick.
--
The City of Palo Alto, in its official description of parking
lot standards, specifies the grade of wheelchair access ramps
in terms of centimeters of rise per foot of run. A compromise,
I imagine...
More information about the Discuss
mailing list