From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Device naming.
Date: Thu, 11 Mar 2010 18:23:17 +0000 [thread overview]
Message-ID: <20100311182317.GC1713@kroah.com> (raw)
In-Reply-To: <4B990E29.5080206@speakeasy.net>
On Thu, Mar 11, 2010 at 10:37:13AM -0500, Alan Grimes wrote:
> I did an experiment the other day which involved plugging a USB thumb
> drive into the server. To my horror, the operating system assigned it
> /dev/sda. The Penguins had gone and *intentionally* designed a namespace
> collision between all possible storage solutions that might be attached
> to the computer!!!
You must have never done this in the past. USB flash disks have been
named /dev/sda since the 2.2 kernel days (back in 1999). They have
never changed naming schemes here, because USB storage devices are
really scsi devices at the protocol level.
As others have pointed out, use /dev/disk/by-label/ and all will be
fine. That is what it was created for, and is what the distros use it
for.
If you are using a distro that does not allow you to easily manage these
disk names in a way you find acceptable, then I suggest you change your
distro as there are many that handle this quite well.
good luck,
greg k-h
prev parent reply other threads:[~2010-03-11 18:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 15:37 Device naming Alan Grimes
2010-03-11 16:19 ` Karl O. Pinc
2010-03-11 18:23 ` 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=20100311182317.GC1713@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).