From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Mon, 08 Nov 2004 12:20:57 +0000 Subject: Re: [util-linux] flock utility program? Message-Id: <20041108122057.GA7510@wonderland.linux.it> List-Id: References: <200411090322.iA93MtV11836@freya.yggdrasil.com> In-Reply-To: <200411090322.iA93MtV11836@freya.yggdrasil.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Nov 09, "Adam J. Richter" wrote: > So, if there is not standard utility for shell scripts to > do flock, here is a simple utility that allows one to do > "flock [--shared | --non-blocking] cmd arg arg...". I would like to get > it into util-linux. I would be happy to write a manual page > for it. Maybe a timeout would be useful. I suggest you look at the interface of the lockfile program from the debian liblockfile package: http://ftp.us.debian.org/debian/pool/main/libl/liblockfile/ -- ciao, | Marco | [9058 trVqgkARltkxo] ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel