All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev rules for /dev/discs/disc0
Date: Sat, 13 Nov 2004 00:06:24 +0000	[thread overview]
Message-ID: <20041113000624.GA17877@kroah.com> (raw)
In-Reply-To: <41922028.2080809@grupopie.com>

On Wed, Nov 10, 2004 at 02:05:28PM +0000, Rui Carvalho wrote:
> Hi!
> 
> I'm changing from devfs to udev, and since I have some hardcoded 
> scripts, I'd like to keep compatibility with devfs device naming scheme.
> 
> My only problem is how to make the rules for hda, hdb, sda, sdb ... to 
> have symlinks in
> /dev/discs/disc0
> /dev/discs/disc1
> ... and so on.

Use the supplied shell scripts in the udev extras/ directory.  They
should be able to provide you with this functionality (hint, gentoo's
rules are setup this way by default, so you might want to look at them.)

Good luck,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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-13  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10 14:05 udev rules for /dev/discs/disc0 Rui Carvalho
2004-11-13  0:06 ` Greg KH [this message]

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=20041113000624.GA17877@kroah.com \
    --to=greg@kroah.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.