All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: persistent CD aliases
Date: Fri, 31 Mar 2006 05:46:04 +0000	[thread overview]
Message-ID: <442CC21C.8010304@ums.usu.ru> (raw)
In-Reply-To: <20060329115013.GA9763@wonderland.linux.it>

Marco d'Itri wrote:
> I am attaching the rules and the script which I am using in the Debian 
> package to generate on demand aliases for CD readers.

Suppose the following scenario:

1) Someone has /dev/hdc as his only CD-ROM
2) He boots the computer, the script creates the /dev/cdrom -> hdc symlink
3) He powers the computer off, moves the CD-ROM to /dev/hdd, adds a disk as 
/dev/hdc, and boots again
4) The script creates /dev/cdrom1 -> hdd cymlink. The old /dev/cdrom -> hdc 
symlink stays, but points to some non-CD-ROM device.

Should one treat this as a bug?


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
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:[~2006-03-31  5:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 11:50 persistent CD aliases Marco d'Itri
2006-03-31  5:46 ` Alexander E. Patrakov [this message]
2006-03-31  7:26 ` Marco d'Itri
2006-04-16  7:57 ` Alexander E. Patrakov
2006-04-17 17:25 ` Andrey Borzenkov
2006-04-18  1:58 ` Alexander E. Patrakov

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=442CC21C.8010304@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --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.