All of lore.kernel.org
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: [util-linux] flock utility program?
Date: Mon, 08 Nov 2004 12:20:57 +0000	[thread overview]
Message-ID: <20041108122057.GA7510@wonderland.linux.it> (raw)
In-Reply-To: <200411090322.iA93MtV11836@freya.yggdrasil.com>

On Nov 09, "Adam J. Richter" <adam@yggdrasil.com> 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_id\x12065&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

  reply	other threads:[~2004-11-08 12:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 12:11 [util-linux] flock utility program? Adam J. Richter
2004-11-08 12:20 ` Marco d'Itri [this message]
2004-11-08 14:36 ` Adam J. Richter
2004-11-08 14:48 ` Adam J. Richter
2004-11-15 17:21 ` Andries Brouwer
2004-11-16  3:32 ` Adam J. Richter
2004-11-16  7:34 ` Adam J. Richter
2004-11-16  7:38 ` Adam J. Richter
2004-11-16 15:24 ` Andries Brouwer
2004-11-16 15:32 ` Andries Brouwer
2004-11-16 15:33 ` Andries Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041108122057.GA7510@wonderland.linux.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.