[Bug 1019] Restore ALSA volumes reliably when udev is installed

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Wed Nov 10 21:00:36 PST 2004


------- Additional Comments From kpfleming at linuxfromscratch.org  2004-11-10 22:00 -------
Adam J. Richter just recently posted an "flock" command-line tool to the
linux-hotplug-devel list, expressly for the purpose of being used by
hotplug-driven scripts. Take a look in the list archives for it; it's pretty simple.

This tool would do exactly what you suggest: lock a file, then run a specified
command with the lock held. Any other attempts to lock at the same time would
wait until the first lock is released, so the command run would have to be a
script that would immediately check to see if it still needed to perform its
task after obtaining the lock.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the blfs-book mailing list