All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: CD Symlinks Solution Idea
Date: Fri, 19 May 2006 16:03:13 +0000	[thread overview]
Message-ID: <446DEC41.3000709@redhat.com> (raw)
In-Reply-To: <44677DD3.80801@jg555.com>

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

Jim Gifford wrote:
>                        if [ -e /dev/cdrom$link ]; then
>                                link=$[$link+1]
>                        else
>                                test=1
>                                echo $link

Does not really work, because everything can be run in parallel, what you need is some semaphore like "test 
and create device" operation, which has to be atomic :)

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3621 bytes --]

  parent reply	other threads:[~2006-05-19 16:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 18:58 CD Symlinks Solution Idea Jim Gifford
2006-05-14 19:11 ` Jim Gifford
2006-05-15  0:52 ` Jim Gifford
2006-05-16  8:23 ` juuso.alasuutari
2006-05-16 15:30 ` Marco d'Itri
2006-05-19 16:03 ` Harald Hoyer [this message]
2006-05-21  1:00 ` juuso.alasuutari
2006-05-21  4:01 ` Alexander E. Patrakov
2006-05-22 16:20 ` Jim Gifford
2006-05-22 17:21 ` Darren Salt
2006-06-12  0:13 ` juuso.alasuutari
2006-06-12  0:17 ` juuso.alasuutari
2006-06-12  7:18 ` Marco d'Itri

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=446DEC41.3000709@redhat.com \
    --to=harald@redhat.com \
    --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.